Commit b3bd97ad authored by Dominik Charousset's avatar Dominik Charousset

Fix actor clock unit test

parent ca27f370
...@@ -35,7 +35,7 @@ namespace { ...@@ -35,7 +35,7 @@ namespace {
using std::chrono::seconds; using std::chrono::seconds;
struct testee_state { struct testee_state {
uint32_t timeout_id = 41; uint64_t timeout_id = 41;
}; };
behavior testee(stateful_actor<testee_state, raw_event_based_actor>* self, behavior testee(stateful_actor<testee_state, raw_event_based_actor>* self,
...@@ -44,7 +44,7 @@ behavior testee(stateful_actor<testee_state, raw_event_based_actor>* self, ...@@ -44,7 +44,7 @@ behavior testee(stateful_actor<testee_state, raw_event_based_actor>* self,
[=](ok_atom) { [=](ok_atom) {
auto n = t->now() + seconds(10); auto n = t->now() + seconds(10);
self->state.timeout_id += 1; self->state.timeout_id += 1;
t->set_receive_timeout(n, self, self->state.timeout_id); t->set_ordinary_timeout(n, self, atom(""), self->state.timeout_id);
}, },
[=](add_atom) { [=](add_atom) {
auto n = t->now() + seconds(10); auto n = t->now() + seconds(10);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment