Fixing test to use unique_path each time. (#2278)

This commit is contained in:
clemahieu 2019-09-04 00:16:06 +02:00 committed by GitHub
commit 100e4de6ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ TEST (socket, concurrent_writes)
{
auto node_flags = nano::inactive_node_flag_defaults ();
node_flags.read_only = false;
nano::inactive_node inactivenode (nano::working_path (), 24000, node_flags);
nano::inactive_node inactivenode (nano::unique_path (), 24000, node_flags);
auto node = inactivenode.node;
// This gives more realistic execution than using system#poll, allowing writes to