Skip to content

Commit

Permalink
fix: add sleep before start up
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyshang committed Sep 15, 2020
1 parent b37bc9c commit 7d85e57
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ public class ApplicationManager {
private String YAML_FILE = "./neuronConfig.yml";


public void init() throws AWTException {
public void init() throws AWTException, InterruptedException {

// sleep before start up for CI
Thread.sleep(10000);

options.setBinary(System.getenv("LOCALAPPDATA") + "/Programs/Neuron/Neuron.exe");
System.setProperty("webdriver.chrome.driver", getYMLValue("chromedriverPath"));
Expand Down

0 comments on commit 7d85e57

Please sign in to comment.