Skip to content

Commit

Permalink
delete snapshots from json_snapshot_validity_test
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonCalabrese committed Aug 31, 2022
1 parent 1061b94 commit 68827ed
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions unittests/snapshot_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,13 @@ BOOST_AUTO_TEST_CASE(json_snapshot_validity_test)
verify_integrity_hash<buffered_snapshot_suite>(*tester_bin_from_json.control, *tester_bin.control);
verify_integrity_hash<buffered_snapshot_suite>(*tester_bin_from_json.control, *tester_json.control);
verify_integrity_hash<buffered_snapshot_suite>(*tester_json.control, *tester_bin.control);

auto bin_snap_path = bfs::path(snapshot_file<snapshot::binary>::base_path) / "BinSnapshot.bin.gz";
auto bin_from_json_snap_path = bfs::path(snapshot_file<snapshot::binary>::base_path) / "BinFromJsonSnapshot.bin.gz";
auto json_snap_path = bfs::path(snapshot_file<snapshot::binary>::base_path) / "JsonSnapshot.bin.json.gz";
remove(bin_snap_path);
remove(bin_from_json_snap_path);
remove(json_snap_path);
}

BOOST_AUTO_TEST_SUITE_END()

0 comments on commit 68827ed

Please sign in to comment.