File tree Expand file tree Collapse file tree 4 files changed +16
-0
lines changed
Expand file tree Collapse file tree 4 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 88
99import logging
1010import sys
11+ import time
1112import unittest
1213
1314from riotctrl .ctrl import RIOTCtrl
1415from riotctrl .shell .json import RapidJSONShellInteractionParser , rapidjson
1516
1617from riotctrl_shell .congure_test import CongureTest
1718
19+ from testrunner .spawn import MAKE_TERM_CONNECT_DELAY
20+
1821
1922class TestCongUREBase (unittest .TestCase ):
2023 # pylint: disable=too-many-public-methods
@@ -25,6 +28,7 @@ class TestCongUREBase(unittest.TestCase):
2528 def setUpClass (cls ):
2629 cls .ctrl = RIOTCtrl ()
2730 cls .ctrl .reset ()
31+ time .sleep (MAKE_TERM_CONNECT_DELAY )
2832 cls .ctrl .start_term ()
2933 if cls .DEBUG :
3034 cls .ctrl .term .logfile = sys .stdout
Original file line number Diff line number Diff line change 88
99import logging
1010import sys
11+ import time
1112import unittest
1213
1314from riotctrl .ctrl import RIOTCtrl
1415from riotctrl .shell .json import RapidJSONShellInteractionParser , rapidjson
1516
1617from riotctrl_shell .congure_test import CongureTest
1718
19+ from testrunner .spawn import MAKE_TERM_CONNECT_DELAY
20+
1821
1922class TestCongUREBase (unittest .TestCase ):
2023 DEBUG = False
@@ -25,6 +28,7 @@ class TestCongUREBase(unittest.TestCase):
2528 def setUpClass (cls ):
2629 cls .ctrl = RIOTCtrl ()
2730 cls .ctrl .reset ()
31+ time .sleep (MAKE_TERM_CONNECT_DELAY )
2832 cls .ctrl .start_term ()
2933 if cls .DEBUG :
3034 cls .ctrl .term .logfile = sys .stdout
Original file line number Diff line number Diff line change 88
99import logging
1010import sys
11+ import time
1112import unittest
1213
1314from riotctrl .ctrl import RIOTCtrl
1415from riotctrl .shell .json import RapidJSONShellInteractionParser , rapidjson
1516
1617from riotctrl_shell .congure_test import CongureTest
1718
19+ from testrunner .spawn import MAKE_TERM_CONNECT_DELAY
20+
1821
1922class TestCongUREBase (unittest .TestCase ):
2023 # pylint: disable=too-many-public-methods
@@ -25,6 +28,7 @@ class TestCongUREBase(unittest.TestCase):
2528 def setUpClass (cls ):
2629 cls .ctrl = RIOTCtrl ()
2730 cls .ctrl .reset ()
31+ time .sleep (MAKE_TERM_CONNECT_DELAY )
2832 cls .ctrl .start_term ()
2933 if cls .DEBUG :
3034 cls .ctrl .term .logfile = sys .stdout
Original file line number Diff line number Diff line change 99import logging
1010import os
1111import sys
12+ import time
1213import unittest
1314
1415from riotctrl .ctrl import RIOTCtrl
1718
1819from riotctrl_shell .congure_test import CongureTest
1920
21+ from testrunner .spawn import MAKE_TERM_CONNECT_DELAY
22+
2023
2124class TestCongUREBase (unittest .TestCase ):
2225 DEBUG = False
@@ -25,6 +28,7 @@ class TestCongUREBase(unittest.TestCase):
2528 def setUpClass (cls ):
2629 cls .ctrl = RIOTCtrl ()
2730 cls .ctrl .reset ()
31+ time .sleep (MAKE_TERM_CONNECT_DELAY )
2832 cls .ctrl .start_term ()
2933 if cls .DEBUG :
3034 cls .ctrl .term .logfile = sys .stdout
You can’t perform that action at this time.
0 commit comments