Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud_storage: tweak test to use default archiver #11435

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/v/cloud_storage/tests/cloud_storage_e2e_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ FIXTURE_TEST(test_produce_consume_from_cloud, e2e_fixture) {

// Upload the closed segment to object storage.
tests::cooperative_spin_wait_with_timeout(3s, [&archiver] {
return archiver.upload_next_candidates().then(
[](archival::ntp_archiver::batch_result res) {
return res.non_compacted_upload_result.num_succeeded == 1;
});
return archiver.manifest().size() == 1;
}).get();
auto manifest_res = archiver.upload_manifest("test").get();
BOOST_REQUIRE_EQUAL(manifest_res, cloud_storage::upload_result::success);
Expand Down