Skip to content

Commit

Permalink
补充部分单测2
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Jul 24, 2022
1 parent d6ca64a commit 6768eef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/org/cloud/sonic/core/ios/IOSDriverTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public static Object[][] data() {

@BeforeClass
public static void before() throws InterruptedException, SonicRespException {
try {
iosDriver.lock();
} catch (SonicRespException e) {
Assert.assertEquals(e.getMessage(), "sessionId not found.");
}
try {
new IOSDriver("http://localhost:8100", null);
} catch (SonicRespException e) {
Expand Down

0 comments on commit 6768eef

Please sign in to comment.