From 7c3609976037217d0ba3ab15407134789807f265 Mon Sep 17 00:00:00 2001 From: Tochemey Date: Sat, 1 Mar 2025 14:34:48 +0000 Subject: [PATCH] refactor: maintenance changes --- actor/remoting_test.go | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/actor/remoting_test.go b/actor/remoting_test.go index 14022ccf..cbc2777f 100644 --- a/actor/remoting_test.go +++ b/actor/remoting_test.go @@ -552,13 +552,12 @@ func TestRemoteTell(t *testing.T) { assert.NoError(t, err) }) t.Run("With TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf)) @@ -1158,13 +1157,12 @@ func TestRemoteAsk(t *testing.T) { assert.NoError(t, err) }) t.Run("With TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf)) @@ -1282,13 +1280,12 @@ func TestRemotingLookup(t *testing.T) { ) }) t.Run("When TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf)) @@ -1436,13 +1433,12 @@ func TestRemotingReSpawn(t *testing.T) { assert.NoError(t, err) }) t.Run("When TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf)) @@ -1595,14 +1591,13 @@ func TestRemotingStop(t *testing.T) { assert.NoError(t, err) }) t.Run("When TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf)) @@ -1827,14 +1822,13 @@ func TestRemotingSpawn(t *testing.T) { ) }) t.Run("When TLS enabled", func(t *testing.T) { - t.SkipNow() // create the context ctx := context.TODO() // AutoGenerate TLS certs conf := autotls.Config{ AutoTLS: true, - ClientAuth: tls.NoClientCert, + ClientAuth: tls.RequireAndVerifyClientCert, InsecureSkipVerify: false, } require.NoError(t, autotls.Setup(&conf))