Browse Source

e2e: update test to reflect (ST1005) update.

Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
Sam Batschelet 7 years ago
parent
commit
577d7c0df2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      etcdserver/api/v2http/client_test.go
  2. 1 1
      tests/e2e/ctl_v3_user_test.go

+ 1 - 1
etcdserver/api/v2http/client_test.go

@@ -1491,7 +1491,7 @@ func TestBadServeKeys(t *testing.T) {
 			},
 
 			http.StatusInternalServerError,
-			`{"errorCode":300,"message":"Raft Internal Error","cause":"received response with no Event/Watcher!","index":0}`,
+			`{"errorCode":300,"message":"Raft Internal Error","cause":"received response with no Event/Watcher","index":0}`,
 		},
 	}
 	for i, tt := range testBadCases {

+ 1 - 1
tests/e2e/ctl_v3_user_test.go

@@ -69,7 +69,7 @@ func userAddTest(cx ctlCtx) {
 		// Tries to add a user with empty username.
 		{
 			args:        []string{"add", ":password"},
-			expectedStr: "empty user name is not allowed.",
+			expectedStr: "empty user name is not allowed",
 			stdIn:       []string{},
 		},
 		// Tries to add a user name that already exists.