Skip to content

Commit 1255e6e

Browse files
committed
Added a dummy test
Signed-off-by: Hanxi Zhang <hanxizh@amazon.com>
1 parent b98c55a commit 1255e6e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

tests/unit/dummy.tcl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
start_server {tags {"dummy"}} {
2+
test "dummy-flaky - basic SET and GET" {
3+
r SET mykey myvalue
4+
assert_equal [r GET mykey] "myvalue"
5+
}
6+
7+
test "dummy-flaky - intentional failure" {
8+
r SET mykey myvalue
9+
assert_equal [r GET mykey] "wrongvalue"
10+
}
11+
12+
test "dummy-flaky - another passing test" {
13+
r SET counter 0
14+
r INCR counter
15+
assert_equal [r GET counter] "1"
16+
}
17+
}

0 commit comments

Comments
 (0)