mirror of https://github.com/dapr/cli.git
Fix error string check for `internal gRPC server`
Signed-off-by: joshvanl <me@joshvanl.dev>
This commit is contained in:
parent
cfb70ceb03
commit
2f21ebcd55
|
|
@ -54,7 +54,7 @@ func TestStandaloneRun(t *testing.T) {
|
||||||
output, err := cmdRun(path, "--dapr-internal-grpc-port", "9999", "--", "bash", "-c", "echo test")
|
output, err := cmdRun(path, "--dapr-internal-grpc-port", "9999", "--", "bash", "-c", "echo test")
|
||||||
t.Log(output)
|
t.Log(output)
|
||||||
require.NoError(t, err, "run failed")
|
require.NoError(t, err, "run failed")
|
||||||
assert.Contains(t, output, "internal gRPC server is running on port 9999")
|
assert.Contains(t, output, "Internal gRPC server is running on port 9999")
|
||||||
assert.Contains(t, output, "Exited App successfully")
|
assert.Contains(t, output, "Exited App successfully")
|
||||||
assert.Contains(t, output, "Exited Dapr successfully")
|
assert.Contains(t, output, "Exited Dapr successfully")
|
||||||
assert.NotContains(t, output, "Could not update sidecar metadata for cliPID")
|
assert.NotContains(t, output, "Could not update sidecar metadata for cliPID")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue