Fix test_event
If the logged line is found, it is not an error, if it is not, it is.
This commit is contained in:
parent
47b2036afa
commit
68e514f08b
@ -483,7 +483,7 @@ int test_logging()
|
||||
|
||||
// Short sleep to increase the likelyhood that the logged message ends
|
||||
// ends up where we expect it to be.
|
||||
sleep(1);
|
||||
sleep(2);
|
||||
|
||||
bool found = false;
|
||||
|
||||
@ -502,7 +502,7 @@ int test_logging()
|
||||
}
|
||||
}
|
||||
|
||||
return found ? 1 : 0;
|
||||
return found ? 0 : 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user