diff --git a/zephyr-sync-core/src/main/java/lv/ctco/zephyr/ZephyrSyncService.java b/zephyr-sync-core/src/main/java/lv/ctco/zephyr/ZephyrSyncService.java index f48fde7..519266f 100755 --- a/zephyr-sync-core/src/main/java/lv/ctco/zephyr/ZephyrSyncService.java +++ b/zephyr-sync-core/src/main/java/lv/ctco/zephyr/ZephyrSyncService.java @@ -46,6 +46,12 @@ public void execute() throws IOException { } zephyrService.linkExecutionsToTestCycle(metaInfo, testCases); + // needed to update correcty status of test cases + try { + TimeUnit.SECONDS.sleep(1); + } catch (InterruptedException e) { + System.out.print("Error not catched ! "); + } zephyrService.updateExecutionStatuses(testCases); }