Skip to content

Commit 5f6b5b1

Browse files
authored
Simplify teardown process in commonSetupTests
Removed unnecessary ping and wait logic after rebooting the boss device.
1 parent c41a8c2 commit 5f6b5b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/commonSetupTests.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,6 @@ function rebootTarget(testCase)
5353
if ~isempty(testCase.bd) && testCase.bd.isConnected
5454
disp('Rebooting bossdevice to teardown test class.');
5555
testCase.bd.reboot;
56-
57-
testCase.assertThat(@() bossapi.tg.pingTarget(testCase.bd.targetObject),...
58-
Eventually(IsTrue,"WithTimeoutOf",60),'Should wait until bossdevice has rebooted.');
59-
60-
% Wait additional seconds since the target may respond ping but not be ready yet
61-
pause(testCase.waitTimeReboot);
6256
end
6357
end
6458
end

0 commit comments

Comments
 (0)