Skip to content

Commit bfc973b

Browse files
chu11mergify[bot]
authored andcommitted
t: use flux kvs sync where appropriate
Problem: Now that the "flux kvs sync" command exists, it can be used in places where "flux kvs put --sync" was used previously. Update test in t2816-fsck-cmd.t.
1 parent 1fd480e commit bfc973b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t2816-fsck-cmd.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ test_expect_success 'create some kvs content' '
2929
'
3030
# N.B. startlog commands in rc scripts normally ensures a checkpoint
3131
# exists but we do this just to be extra sure
32-
test_expect_success 'call --sync to ensure we have checkpointed' '
33-
flux kvs put --sync dir.sync=foo
32+
test_expect_success 'call sync to ensure we have checkpointed' '
33+
flux kvs sync
3434
'
3535
test_expect_success 'save some treeobjs for later' '
3636
flux kvs get --treeobj dir.b > dirb.out &&

0 commit comments

Comments
 (0)