Skip to content

Commit f9169f4

Browse files
author
jan
committed
reenable esp upload pattern test
1 parent a47544f commit f9169f4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

io.sloeber.tests/src/io/sloeber/core/BuildTests.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -604,11 +604,10 @@ public void uploadPattern() throws Exception {
604604
BoardDescription boardDescriptor = Arduino.uno().getBoardDescriptor();
605605
String recipeKey = boardDescriptor.getUploadPatternKey();
606606
assertEquals( "tools.avrdude.upload.pattern", recipeKey,"uno upload recipe key is wrong");
607-
//TOFIX find out why the somethimes this returns a Arduino esp board
608-
// boardDescriptor = ESP32.esp32().getBoardDescriptor();
609-
// boardDescriptor.setUploadPort("host 10.10.10.10");
610-
// recipeKey = boardDescriptor.getUploadPatternKey();
611-
// assertEquals( "tools.esptool_py.upload.network_pattern", recipeKey,"ESP OTA upload recipe key is wrong "+boardDescriptor.jsonURL());
607+
boardDescriptor = ESP32.esp32().getBoardDescriptor();
608+
boardDescriptor.setUploadPort("host 10.10.10.10");
609+
recipeKey = boardDescriptor.getUploadPatternKey();
610+
assertEquals( "tools.esptool_py.upload.network_pattern", recipeKey,"ESP OTA upload recipe key is wrong "+boardDescriptor.jsonURL());
612611

613612
}
614613

0 commit comments

Comments
 (0)