File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -656,9 +656,6 @@ func TestCheckSingleKeyDefaultsTo0(t *testing.T) {
656656}
657657
658658func TestClusterGetKeyInfo (t * testing.T ) {
659- t .Skip ()
660- return
661-
662659 clusterUri := os .Getenv ("TEST_REDIS_CLUSTER_MASTER_URI" )
663660 if clusterUri == "" {
664661 t .Skipf ("Skipping TestClusterKeyValuesAndSizes, don't have env var TEST_REDIS_CLUSTER_MASTER_URI" )
@@ -669,12 +666,15 @@ func TestClusterGetKeyInfo(t *testing.T) {
669666 Options {
670667 Namespace : "test" ,
671668 CheckSingleKeys : TestKeysHllName , Registry : prometheus .NewRegistry (),
669+ IsCluster : true ,
672670 },
673671 )
674672 ts := httptest .NewServer (e )
675673 defer ts .Close ()
676674
677- setupDBKeysCluster (t , clusterUri )
675+ if err := setupDBKeysCluster (t , clusterUri ); err != nil {
676+ t .Fatalf ("setupDBKeysCluster() err: %s" , err )
677+ }
678678 defer deleteKeysFromDBCluster (clusterUri )
679679
680680 chM := make (chan prometheus.Metric , 10000 )
You can’t perform that action at this time.
0 commit comments