Skip to content

Commit

Permalink
t: cover "none" backing store checkpoints
Browse files Browse the repository at this point in the history
Problem: There is no coverage to ensure that the "none" backing
store works identically to when no backing store is never loaded.

Add coverage in t0028-content-backing-none.t.
  • Loading branch information
chu11 committed Dec 18, 2024
1 parent 7b27fd8 commit 9363a9a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions t/t0028-content-backing-none.t
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@ test_expect_success 'content.backing-module input of none works' '
flux start -Scontent.backing-module=none true
'

test_expect_success 'checkpoint-get fails, backing store is none' '
test_must_fail checkpoint_get foo
'

test_expect_success 'checkpoint-put fails, backing store is none' '
test_must_fail checkpoint_put foo bar
'

test_expect_success 'flux-dump --checkpoint with backing store is none' '
test_must_fail flux dump --checkpoint foo.tar
'

test_expect_success 'remove content module' '
flux exec flux module remove content
'
Expand Down

0 comments on commit 9363a9a

Please sign in to comment.