File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ test_expect_success 'kvs: no checkpoint of kvs-primary should exist yet' '
3333 test_must_fail checkpoint_get kvs-primary
3434'
3535
36- test_expect_success ' kvs: put some data to kvs and sync it' '
36+ test_expect_success ' kvs: put some data to kvs and sync it (flux kvs put) ' '
3737 flux kvs put --blobref --sync c=3 > syncblob.out
3838'
3939
@@ -46,6 +46,16 @@ test_expect_success 'kvs: checkpoint of kvs-primary should match rootref' '
4646 test_cmp syncblob.out checkpoint.out
4747'
4848
49+ test_expect_success ' kvs: put some data to kvs and sync it (flux kvs sync)' '
50+ flux kvs put --blobref d=4 > syncblob2.out &&
51+ flux kvs sync
52+ '
53+
54+ test_expect_success ' kvs: checkpoint of kvs-primary should match rootref' '
55+ checkpoint_get kvs-primary | jq -r .value.rootref > checkpoint2.out &&
56+ test_cmp syncblob2.out checkpoint2.out
57+ '
58+
4959test_expect_success ' kvs: sync fails against non-primary namespace' '
5060 flux kvs namespace create ${TESTNAMESPACE} &&
5161 flux kvs put --namespace=${TESTNAMESPACE} a=10 &&
You can’t perform that action at this time.
0 commit comments