Index: filesystem_copier_action_unittest.cc |
diff --git a/filesystem_copier_action_unittest.cc b/filesystem_copier_action_unittest.cc |
index cd77befae9132e99bf368a1fc6f157d73e229b19..032a24da4a15be125ef6880c437030acd9199a09 100644 |
--- a/filesystem_copier_action_unittest.cc |
+++ b/filesystem_copier_action_unittest.cc |
@@ -192,6 +192,10 @@ void FilesystemCopierActionTest::DoTest(bool run_out_of_space, |
EXPECT_TRUE(ExpectVectorsEq(a_loop_data, a_out)); |
EXPECT_TRUE(collector_action.object() == install_plan); |
+ if (terminate_early) { |
+ // sleep so OS can clean up |
+ sleep(1); |
+ } |
} |
class FilesystemCopierActionTest2Delegate : public ActionProcessorDelegate { |