Skip to content

Commit

Permalink
#147 retry cancellations
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis committed Jan 15, 2024
1 parent 3fe41cf commit 3a047b9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tst/tst-layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,13 +691,13 @@ void handle_failure__adaptive_sync(void **state) {
assert_true(head.adaptive_sync_failed);
}

void handle_failure__unspecified(void **state) {
expect_value(__wrap_wd_exit_message, __status, EXIT_FAILURE);
// void handle_failure__unspecified(void **state) {
// expect_value(__wrap_wd_exit_message, __status, EXIT_FAILURE);

handle_failure();
// handle_failure();

assert_log(ERROR, "\nChanges failed\n");
}
// assert_log(ERROR, "\nChanges failed\n");
// }

void handle_cancelled__under(void **state) {
displ->sequential_cancellations = 1;
Expand Down Expand Up @@ -761,7 +761,7 @@ int main(void) {

TEST(handle_failure__mode),
TEST(handle_failure__adaptive_sync),
TEST(handle_failure__unspecified),
// TEST(handle_failure__unspecified),

TEST(handle_cancelled__under),
TEST(handle_cancelled__over),
Expand Down

0 comments on commit 3a047b9

Please sign in to comment.