Skip to content

Commit

Permalink
Merge pull request #8159 from heyitsanthony/crl-test-fix
Browse files Browse the repository at this point in the history
e2e: accept more kinds of errors in CRL test
  • Loading branch information
Anthony Romano committed Jun 22, 2017
2 parents f7df3c8 + e22d00a commit 4c43fb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/ctl_v3_kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func TestCtlV3GetRevokedCRL(t *testing.T) {

func testGetRevokedCRL(cx ctlCtx) {
// test reject
if err := ctlV3Put(cx, "k", "v", ""); err == nil || !strings.Contains(err.Error(), "code = Internal") {
cx.t.Fatalf("expected reset connection, got %v", err)
if err := ctlV3Put(cx, "k", "v", ""); err == nil || !strings.Contains(err.Error(), "Error:") {
cx.t.Fatalf("expected reset connection on put, got %v", err)
}
// test accept
cx.epc.cfg.isClientCRL = false
Expand Down

0 comments on commit 4c43fb8

Please sign in to comment.