Skip to content

Commit

Permalink
Adding missing vhosts
Browse files Browse the repository at this point in the history
  • Loading branch information
pubudu538 committed Sep 27, 2023
1 parent aa854e7 commit 032e399
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/cucumber-tests/scripts/setup-hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ sudo echo "$IP default.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP org1.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP org2.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP default.sandbox.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP default-qa.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "$IP default-dev.gw.wso2.com" | sudo tee -a /etc/hosts
sudo echo "255.255.255.255 broadcasthost" | sudo tee -a /etc/hosts
sudo echo "::1 localhost" | sudo tee -a /etc/hosts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void waitForNextMinuteStrictly() throws InterruptedException {
LocalDateTime now = LocalDateTime.now();
LocalDateTime nextMinute = now.plusMinutes(1).withSecond(0).withNano(0);
long secondsToWait = now.until(nextMinute, ChronoUnit.SECONDS);
Thread.sleep((secondsToWait+1) * 1000);
Thread.sleep((secondsToWait+2) * 1000);
logger.info("Current time: " + LocalDateTime.now());
}

Expand Down

0 comments on commit 032e399

Please sign in to comment.