Skip to content

Commit 0c9ce22

Browse files
committed
Removed the dummy tests
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent a47c80c commit 0c9ce22

3 files changed

Lines changed: 5 additions & 30 deletions

File tree

tests/unit/cluster/cluster-migrateslots.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,7 +2468,7 @@ start_cluster 3 0 {tags {logreqres:skip external:skip cluster} overrides {cluste
24682468
# Check after the migration.
24692469
set import_migration [get_migration_by_name 0 $jobname]
24702470
set export_migration [get_migration_by_name 2 $jobname]
2471-
assert_equal [dict get $export_migration remaining_repl_size] 100
2472-
assert_equal [dict get $import_migration remaining_repl_size] 100
2471+
assert_equal [dict get $export_migration remaining_repl_size] 0
2472+
assert_equal [dict get $import_migration remaining_repl_size] 0
24732473
}
24742474
}

tests/unit/dummy-flaky.tcl

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/unit/hashexpire.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ start_server {tags {"hashexpire"}} {
646646
r FLUSHALL
647647
r HSET myhash f1 v1
648648
set res [r HSETEX myhash NX FIELDS 2 f1 new1 f2 new2]
649-
assert_equal 10000 $res
649+
assert_equal 0 $res
650650
assert_equal v1 [r HGET myhash f1]
651651
assert_equal 0 [r HEXISTS myhash f2]
652652
}
@@ -664,7 +664,7 @@ start_server {tags {"hashexpire"}} {
664664
r FLUSHALL
665665
set res [r HSETEX myhash XX FIELDS 2 f1 v1 f2 v2]
666666
assert_equal 0 $res
667-
assert_equal 10000 [r EXISTS myhash]
667+
assert_equal 0 [r EXISTS myhash]
668668
assert_equal 0 [r HEXISTS myhash f1]
669669
assert_equal 0 [r HEXISTS myhash f2]
670670
}
@@ -744,7 +744,7 @@ start_server {tags {"hashexpire"}} {
744744
# Try again — key exists now, should block
745745
set res [r HSETEX myhash EX 10 NX FNX FIELDS 2 f3 v3 f4 v4]
746746
assert_equal 0 $res
747-
assert_equal 10000 [r HEXISTS myhash f3]
747+
assert_equal 0 [r HEXISTS myhash f3]
748748
assert_equal 0 [r HEXISTS myhash f4]
749749
}
750750

0 commit comments

Comments
 (0)