mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: update test to reflect (ST1005) update.
Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
This commit is contained in:
parent
a82703b69e
commit
577d7c0df2
@ -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 {
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user