Skip to content

Commit fd32015

Browse files
committed
e2e: require successful verify for openssl frontend tests
1 parent fb16a69 commit fd32015

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/openssl/openssl_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func TestOpenSSL(t *testing.T) {
3232

3333
certs := make(map[string][]byte)
3434

35-
t.Run("contrast verify", func(t *testing.T) {
35+
require.True(t, t.Run("contrast verify", func(t *testing.T) {
3636
require := require.New(t)
3737

3838
ctx, cancel := context.WithTimeout(context.Background(), 1*time.Minute)
@@ -67,7 +67,7 @@ func TestOpenSSL(t *testing.T) {
6767
assert.NoError(t, err)
6868
certs[certFile] = pem
6969
}
70-
})
70+
}), "contrast verify needs to succeed for subsequent tests")
7171

7272
for certFile, pem := range certs {
7373
t.Run("go dial frontend with ca "+certFile, func(t *testing.T) {

0 commit comments

Comments
 (0)