Commit d721384d authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

add sleep to cleanup

parent 9bafb13a
Loading
Loading
Loading
Loading
+2 −2
Changes for src/test/resources/hypo/afterScenario.js: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -55,10 +55,10 @@ function() {
        if (networkControllerId) {
        karate.call('classpath:hypo/deleteAll.feature@deleteFabricNetwork', { token: token, networkControllerId: networkControllerId });
        }

        karate.call('classpath:hypo/deleteAll.feature@deletePeeringAfter',      { auth_token: token, orgId: cleanupId });
        java.lang.Thread.sleep(15000);
        karate.call('classpath:hypo/deleteAll.feature@deleteOrganizationAfter', { auth_token: token, orgId: cleanupId });

        java.lang.Thread.sleep(15000);
        karate.call('classpath:hypo/deleteAll.feature@deleteCandidate', { auth_token: token, candidateId: firstcandidateId });
        karate.call('classpath:hypo/deleteAll.feature@deleteCandidate', { auth_token: token, candidateId: secondcandidateId });
        karate.call('classpath:hypo/deleteAll.feature@deleteCandidate', { auth_token: token, candidateId: thirdcandidateId });