tests: Test multi member cluster

This commit is contained in:
Marek Siarkowicz
2022-02-18 15:20:55 +01:00
parent bd9f366f40
commit 49e9cb5f53
2 changed files with 4 additions and 5 deletions

View File

@@ -36,11 +36,11 @@ func TestKVPut(t *testing.T) {
},
{
name: "PeerTLS",
config: config.ClusterConfig{ClusterSize: 1, PeerTLS: config.ManualTLS},
config: config.ClusterConfig{ClusterSize: 3, PeerTLS: config.ManualTLS},
},
{
name: "PeerAutoTLS",
config: config.ClusterConfig{ClusterSize: 1, PeerTLS: config.AutoTLS},
config: config.ClusterConfig{ClusterSize: 3, PeerTLS: config.AutoTLS},
},
{
name: "ClientTLS",
@@ -93,11 +93,11 @@ func TestKVGet(t *testing.T) {
},
{
name: "PeerTLS",
config: config.ClusterConfig{ClusterSize: 1, PeerTLS: config.ManualTLS},
config: config.ClusterConfig{ClusterSize: 3, PeerTLS: config.ManualTLS},
},
{
name: "PeerAutoTLS",
config: config.ClusterConfig{ClusterSize: 1, PeerTLS: config.AutoTLS},
config: config.ClusterConfig{ClusterSize: 3, PeerTLS: config.AutoTLS},
},
{
name: "ClientTLS",

View File

@@ -30,7 +30,6 @@ func TestCtlV3PutIgnoreValue(t *testing.T) { testCtl(t, putTestIgnoreValue) }
func TestCtlV3PutIgnoreLease(t *testing.T) { testCtl(t, putTestIgnoreLease) }
func TestCtlV3GetTimeout(t *testing.T) { testCtl(t, getTest, withDialTimeout(0)) }
func TestCtlV3GetQuorum(t *testing.T) { testCtl(t, getTest, withQuorum()) }
func TestCtlV3GetFormat(t *testing.T) { testCtl(t, getFormatTest) }
func TestCtlV3GetRev(t *testing.T) { testCtl(t, getRevTest) }