From 431e867778c0f1bd059c5feb2375760107581a91 Mon Sep 17 00:00:00 2001 From: Albert Chu Date: Wed, 4 Sep 2024 13:19:09 -0700 Subject: [PATCH] t: cover "none" backing store checkpoints Problem: There is no coverage to ensure that the "none" backing store works identically to when no backing store is very loaded. Add coverage in t0028-content-backing-none.t. --- t/t0028-content-backing-none.t | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/t/t0028-content-backing-none.t b/t/t0028-content-backing-none.t index 2242cfdaca82..eb7c0ce61c82 100755 --- a/t/t0028-content-backing-none.t +++ b/t/t0028-content-backing-none.t @@ -31,6 +31,14 @@ test_expect_success 'content.backing-module input of none works' ' flux start -o,-Scontent.backing-module=none /bin/true ' +test_expect_success 'checkpoint-get fails, backing store none' ' + test_must_fail checkpoint_get foo +' + +test_expect_success 'checkpoint-put fails, backing store none' ' + test_must_fail checkpoint_put foo bar +' + test_expect_success 'remove content module' ' flux exec flux module remove content '