mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
Changed timeout for loading wind from igtimi due to a failure on hudson
This commit is contained in:
1 parent
1eb7a4da7d
commit
59d086864b
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -22,12 +22,12 @@ public class WindPanelPO extends PageArea {
|
||||
super(driver, element);
|
||||
}
|
||||
|
||||
public void importWindFromIgtimi() throws InterruptedException {
|
||||
public void importWindFromIgtimi(int timeoutInSeconds) throws InterruptedException {
|
||||
importWindFromIgtimi.click();
|
||||
|
||||
waitForAlertAndAccept(10);
|
||||
|
||||
FluentWait<String> wait = createFluentWait("The following number of fixes were imported for the listed races:", /* waiting 10 minutes at most */ 10 * 60, DEFAULT_POLLING_INTERVAL);
|
||||
FluentWait<String> wait = createFluentWait("The following number of fixes were imported for the listed races:", timeoutInSeconds, DEFAULT_POLLING_INTERVAL);
|
||||
wait.until(new Function<String, Object>() {
|
||||
@Override
|
||||
public Object apply(String message) {
|
||||
|
||||
+1
-1
@@ -112,7 +112,7 @@ public class SimulatorOverlayTest extends AbstractSeleniumTest {
|
||||
igtimiAccountsManagementPanel.addAccount(getIgtimiAccountUser(), getIgtimiAccountPassword());
|
||||
|
||||
WindPanelPO windPanel = adminConsole.goToWind();
|
||||
windPanel.importWindFromIgtimi();
|
||||
windPanel.importWindFromIgtimi(/* waiting up to 15 min */ 15 * 60);
|
||||
|
||||
// Retracking all races should not be necessary, but currently, polar data is only calculated when GPS fixes
|
||||
// are recorded for a tracked race and not for wind fixes.
|
||||
|
||||
Reference in new issue
Block a user