Avoid 'Access is denied. : 5 : File "server" can't be opened/created for reading' error in tests.
This commit is contained in:
parent
6c88f6dbfe
commit
06e01a9ebd
@ -292,7 +292,6 @@ class OpenClose final : public td::Actor {
|
||||
cnt_--;
|
||||
yield();
|
||||
} else {
|
||||
td::unlink(file_name).ignore();
|
||||
td::Scheduler::instance()->finish();
|
||||
}
|
||||
}
|
||||
@ -310,6 +309,7 @@ TEST(Actors, open_close) {
|
||||
while (scheduler.run_main(10)) {
|
||||
}
|
||||
scheduler.finish();
|
||||
td::unlink("server").ignore();
|
||||
}
|
||||
|
||||
class MsgActor : public td::Actor {
|
||||
|
Loading…
Reference in New Issue
Block a user