File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
test/unittest/presentation Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -410,17 +410,13 @@ TEST_F(TestPresentation, makeSubscriber_raw)
410410
411411 Presentation presentation{mr_, scheduler_, transport_mock_};
412412
413- scheduler_.scheduleAt (1s, [&](const auto &) {
414- //
415- auto maybe_sub1 = presentation.makeSubscriber (rx_params.subject_id , rx_params.extent_bytes );
416- EXPECT_THAT (maybe_sub1, VariantWith<Subscriber<void >>(_));
413+ auto maybe_sub1 = presentation.makeSubscriber (rx_params.subject_id , rx_params.extent_bytes );
414+ EXPECT_THAT (maybe_sub1, VariantWith<Subscriber<void >>(_));
417415
418- auto maybe_sub2 = presentation.makeSubscriber (rx_params.subject_id , rx_params.extent_bytes , [](const auto &) {});
419- EXPECT_THAT (maybe_sub2, VariantWith<Subscriber<void >>(_));
416+ auto maybe_sub2 = presentation.makeSubscriber (rx_params.subject_id , rx_params.extent_bytes , [](const auto &) {});
417+ EXPECT_THAT (maybe_sub2, VariantWith<Subscriber<void >>(_));
420418
421- EXPECT_CALL (msg_rx_session_mock, deinit ()).Times (1 );
422- });
423- scheduler_.spinFor (10s);
419+ EXPECT_CALL (msg_rx_session_mock, deinit ()).Times (1 );
424420}
425421
426422TEST_F (TestPresentation, makeSubscriber_with_failure)
You can’t perform that action at this time.
0 commit comments