Skip to content
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
4 changes: 3 additions & 1 deletion src/tests/rpp/test_scheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,15 @@ TEST_CASE("new_thread works till end")
| rpp::operators::subscribe_on(rpp::schedulers::new_thread{})
| rpp::operators::subscribe(mock);

CHECK(!last->is_satisfied());
const bool before = last->is_satisfied();

wait(last);

while (!done->load())
{
};

CHECK(!before);
Comment thread
AlexInLog marked this conversation as resolved.
}

TEST_CASE("run_loop scheduler dispatches tasks only manually")
Expand Down