Skip to content

Commit

Permalink
Fix problem at conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Jul 31, 2015
1 parent 2ec8682 commit e06363d
Showing 1 changed file with 0 additions and 35 deletions.
Expand Up @@ -114,13 +114,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 1
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-autodisable-trigger"] )
Expand Down Expand Up @@ -233,13 +228,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 1
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-autoresolve-trigger"] )
Expand Down Expand Up @@ -282,13 +272,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 1
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-autoresolve-trigger",statuses:"RESOLVED"] )
Expand Down Expand Up @@ -364,13 +349,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 20; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 5
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-manual-trigger"] )
Expand Down Expand Up @@ -901,13 +881,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 1 because the trigger should have disabled after firing
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-autoenable-trigger"] )
Expand Down Expand Up @@ -1020,13 +995,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent alerts for trigger, there should be 1
resp = client.get(path: "", query: [startTime:start,triggerIds:"test-manual-autoresolve-trigger"] )
Expand Down Expand Up @@ -1075,13 +1045,8 @@ class LifecycleITest extends AbstractITestBase {

// The alert processing happens async, so give it a little time before failing...
for ( int i=0; i < 10; ++i ) {
<<<<<<< HEAD
// println "SLEEP!" ;
Thread.sleep(500);
=======
println "SLEEP!" ;
Thread.sleep(1000);
>>>>>>> HWKALERTS-68 Set standalone test environment and several fixes

// FETCH recent OPEN alerts for trigger, there should be 1
resp = client.get(path: "",
Expand Down

0 comments on commit e06363d

Please sign in to comment.