Skip to content

Commit

Permalink
flux-kvs: drop unnecessary unlink tests
Browse files Browse the repository at this point in the history
We verify once that unlink works.  After that unlinking between
tests is not needed.
  • Loading branch information
garlick committed Oct 16, 2014
1 parent e13e7a5 commit c3a6f47
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions t/t1000-kvs-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ test_expect_success 'kvs: string type' '
test_expect_success 'kvs: string get' '
test_kvs_key $KEY "Hello world"
'
test_expect_success 'kvs: unlink works' '
flux kvs unlink $KEY &&
test_must_fail flux kvs get $KEY
'
test_expect_success 'kvs: boolean put (true)' '
flux kvs put $KEY=true
'
Expand All @@ -89,10 +85,6 @@ test_expect_success 'kvs: boolean type' '
test_expect_success 'kvs: boolean get (false)' '
test_kvs_key $KEY false
'
test_expect_success 'kvs: unlink works' '
flux kvs unlink $KEY &&
test_must_fail flux kvs get $KEY
'
test_expect_success 'kvs: put double' '
flux kvs put $KEY=3.14159
'
Expand All @@ -102,10 +94,6 @@ test_expect_success 'kvs: double type' '
test_expect_success 'kvs: get double' '
test_kvs_key $KEY 3.141590
'
test_expect_success 'kvs: unlink works' '
flux kvs unlink $KEY &&
test_must_fail flux kvs get $KEY
'
test_expect_success 'kvs: array put' '
flux kvs put $KEY="[1,3,5,7]"
'
Expand All @@ -115,10 +103,6 @@ test_expect_success 'kvs: array type' '
test_expect_success 'kvs: array get' '
test_kvs_key $KEY "[ 1, 3, 5, 7 ]"
'
test_expect_success 'kvs: unlink works' '
flux kvs unlink $KEY &&
test_must_fail flux kvs get $KEY
'
test_expect_success 'kvs: object put' '
flux kvs put $KEY="{\"a\":42}"
'
Expand Down

0 comments on commit c3a6f47

Please sign in to comment.