Fix error string check for `internal gRPC server`

Signed-off-by: joshvanl <me@joshvanl.dev>
This commit is contained in:
joshvanl 2023-09-19 10:03:33 +01:00
parent cfb70ceb03
commit 2f21ebcd55
1 changed files with 1 additions and 1 deletions

View File

@ -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")