Skip to content
Permalink
Browse files

samples/boards/nrf52/power_mgr: Correct test integration

The regexes for the power states entered were in the wrong order, and
this tests takes 2 minutes to get to that point, blowing past the
default sanitycheck timeout.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
  • Loading branch information...
andyross authored and nashif committed Jun 18, 2019
1 parent bb35925 commit b56cc058ef6cb90925d31afe2cfa548f6e117df8
Showing with 3 additions and 2 deletions.
  1. +3 −2 samples/boards/nrf52/power_mgr/sample.yaml
@@ -3,12 +3,13 @@ sample:
tests:
sample.board.nrf52.pm.low_power_state:
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028
timeout: 150
tags: power
harness: console
harness_config:
type: multi_line
regex:
- "--> Entering to SYS_POWER_STATE_SLEEP_2 state."
- "--> Exited from SYS_POWER_STATE_SLEEP_2 state."
- "--> Entering to SYS_POWER_STATE_SLEEP_3 state."
- "--> Exited from SYS_POWER_STATE_SLEEP_3 state."
- "--> Entering to SYS_POWER_STATE_SLEEP_2 state."
- "--> Exited from SYS_POWER_STATE_SLEEP_2 state."

0 comments on commit b56cc05

Please sign in to comment.
You can’t perform that action at this time.