-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into go-mod-update-operator-tls-opts
- Loading branch information
Showing
2 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...es/e2e/release-1.12/dapr-sidecar-master/0001-service-invocation-e2e-error-condition.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff --git a/tests/e2e/service_invocation/service_invocation_test.go b/tests/e2e/service_invocation/service_invocation_test.go | ||
index 6c1a455ec0..53545b4752 100644 | ||
--- a/tests/e2e/service_invocation/service_invocation_test.go | ||
+++ b/tests/e2e/service_invocation/service_invocation_test.go | ||
@@ -1493,8 +1493,7 @@ func TestNegativeCases(t *testing.T) { | ||
// TODO: This doesn't return as an error, it should be handled more gracefully in dapr | ||
require.False(t, testResults.MainCallSuccessful) | ||
require.Equal(t, 500, status) | ||
- require.Contains(t, string(testResults.RawBody), "failed to invoke") | ||
- require.Contains(t, string(testResults.RawBody), "missing-service-0") | ||
+ require.Contains(t, string(testResults.RawBody), "failed to resolve address for 'missing-service-0-dapr.dapr-tests.svc.cluster.local'") | ||
require.Nil(t, err) | ||
}) | ||
|
||
@@ -1517,8 +1516,7 @@ func TestNegativeCases(t *testing.T) { | ||
require.Nil(t, testResults.RawBody) | ||
require.Nil(t, err) | ||
require.NotNil(t, testResults.RawError) | ||
- require.Contains(t, testResults.RawError, "failed to invoke") | ||
- require.Contains(t, testResults.RawError, "missing-service-0") | ||
+ require.Contains(t, testResults.RawError, "failed to resolve address for 'missing-service-0-dapr.dapr-tests.svc.cluster.local'") | ||
}) | ||
|
||
t.Run("service_timeout_http", func(t *testing.T) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters