Skip to content

Commit 1746fe2

Browse files
hanbinyoonCQ Bot
authored andcommitted
[power] Introduce artificial delay at the start of the test.
This is to confirm the theory that this test is running too early and interfering with fusb's power negotiation. Bug: 342432339 Change-Id: Ic15873d673c9931d3fd0e183968979c01a4d4540 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1056134 Reviewed-by: Michael Brunson <mbrunson@google.com> Fuchsia-Auto-Submit: HanBin Yoon <hanbinyoon@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Victor Costan <costan@google.com>
1 parent f80c2b6 commit 1746fe2

File tree

1 file changed

+5
-0
lines changed
  • src/power/testing/system-integration/storage/test

1 file changed

+5
-0
lines changed

src/power/testing/system-integration/storage/test/test.cc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,11 @@ class PowerSystemIntegration : public gtest::RealLoopFixture {
136136
};
137137

138138
TEST_F(PowerSystemIntegration, StorageSuspendResumeTest) {
139+
// TODO(b/342432339): Remove this.
140+
// This is to confirm the theory that this test is running too early and interfering with fusb's
141+
// power negotiation.
142+
zx::nanosleep(zx::deadline_after(zx::sec(120)));
143+
139144
// To enable changing SAG's power levels, first trigger the "boot complete" logic. This is done by
140145
// setting both exec state level and app activity level to active.
141146
test_sagcontrol::SystemActivityGovernorState state;

0 commit comments

Comments
 (0)