Merge "sencha robots: add testbench sanity check"
diff --git a/FPGALibrary.py b/FPGALibrary.py
index 8e8f1a9..6da0e8a 100644
--- a/FPGALibrary.py
+++ b/FPGALibrary.py
@@ -256,7 +256,7 @@
           waitForEcho: boolean. Deafults to True. Whether or not to check
             echoed back characters against the given string.
         """
-        if kwargs.get('waitForEcho'):
+        if 'waitForEcho' in kwargs:
             self._write_line_to_uart(self.default_uart,
                                      line,
                                      wait_for_echo=kwargs['waitForEcho'])
diff --git a/shodan_boot.robot b/shodan_boot.robot
index 1633b2a..4b96e47 100644
--- a/shodan_boot.robot
+++ b/shodan_boot.robot
@@ -62,7 +62,6 @@
 
 # TODO b/329673199 test is flaky on nexus platform
 Test SDK + TimerService (oneshot & periodic)
-    Skip if                     "${PLATFORM}" == "nexus"
     Requires                    shodan-bootup
     Install App                 timer
     Wait For Line On Uart       sdk_timer_cancel returned Err(SDKInvalidTimer) with nothing running
diff --git a/variables/common.py b/variables/common.py
index 9f470d5..d6f80bf 100644
--- a/variables/common.py
+++ b/variables/common.py
@@ -32,6 +32,10 @@
 ROOTDIR  = environ['ROOTDIR']
 PLATFORM = environ['PLATFORM']
 
+# To avoid race conditions, do not wait for strings to echo back on nexus tests.
+if PLATFORM == "nexus":
+  WAIT_ECHO = False
+
 CANTRIP_OUTDIR = f'{ROOTDIR}/out/cantrip/{PLATFORM}/{BUILD_TYPE}'
 CHERIOT_OUTDIR = f'{ROOTDIR}/out/cheriot/{PLATFORM}/{BUILD_TYPE}/cheriot/cheriot/{BUILD_TYPE}'