mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 09:58:54 +00:00
tests: Improve flakyness of test_processes_memory_cpu (#6182)
Co-authored-by: Marek Cirkos <marekcirkos@users.noreply.github.com>
This commit is contained in:
parent
0d779a7160
commit
afaaac6d18
@ -144,11 +144,11 @@ TEST_F(SystemsTablesTests, test_processes_memory_cpu) {
|
||||
|
||||
// Now we expect the running test to use over 1M of RSS.
|
||||
bytes = bytes / (1024 * 1024);
|
||||
EXPECT_GT(bytes, 1U);
|
||||
EXPECT_GE(bytes, 1U);
|
||||
|
||||
bytes = std::stoll(results.rows()[0].at("total_size"), 0, 0);
|
||||
bytes = bytes / (1024 * 1024);
|
||||
EXPECT_GT(bytes, 1U);
|
||||
EXPECT_GE(bytes, 1U);
|
||||
|
||||
// Make sure user/system time are in seconds, pray we haven't actually used
|
||||
// more than 100 seconds of CPU.
|
||||
|
Loading…
Reference in New Issue
Block a user