Skip to content

Commit

Permalink
storage: Fix storage_test_fixture.h
Browse files Browse the repository at this point in the history
Reset changed cluster cofigs modified by the test.

(cherry picked from commit 6363a58)
  • Loading branch information
Lazin authored and vbotbuildovich committed Sep 3, 2023
1 parent cf8f124 commit b5c5ea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/v/storage/tests/storage_test_fixture.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ class storage_test_fixture {
~storage_test_fixture() {
kvstore.stop().get();
feature_table.stop().get();
ss::smp::invoke_on_all([] {
config::shard_local_cfg().get("disable_metrics").reset();
config::shard_local_cfg().get("log_segment_size_min").reset();
}).get();
}

/**
Expand Down

0 comments on commit b5c5ea9

Please sign in to comment.