Skip to content

Commit

Permalink
MOS-29557 : Added healthcheck util and updated pom
Browse files Browse the repository at this point in the history
  • Loading branch information
tabishkhan7 committed Dec 11, 2019
1 parent 7ff6e2a commit cd55e2b
Show file tree
Hide file tree
Showing 38 changed files with 27 additions and 6,955 deletions.
2 changes: 1 addition & 1 deletion automationtests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>io.mosip</groupId>
<artifactId>mosip-parent</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
</parent>
<properties>
<!-- kernel versions -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.util.Properties;

import org.json.simple.parser.ParseException;
import org.junit.Assert;
import org.testng.ITest;
import org.testng.ITestContext;
import org.testng.ITestResult;
Expand Down Expand Up @@ -181,27 +182,33 @@ public void packetValidatorStage(File[] listOfInvpackets) {
}
}
}

try {
Thread.sleep(3000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
dbList=transaction.readStatus(regID);
regID="";
logger.info("User list :: "+ userList);
logger.info("Db list :: "+ dbList);
boolean listStatus=false;
for(int i=0;i<3;i++) {
for(int i=0;i<dbList.size();i++) {
if(dbList .get(i).equals("ERROR"))
dbList.add(i, "FAILED");

}
for(int i=0;i<3;i++) {
for(int i=0;i<dbList.size();i++) {
if(dbList.get(i).equals(userList.get(i)))
listStatus=true;
else
listStatus=false;
}
softAssert.assertTrue(listStatus);
//softAssert.assertTrue(listStatus);
Assert.assertTrue(listStatus);
userList.clear();
dbList.clear();
softAssert.assertAll();
//softAssert.assertAll();
//cleanUp.prepareQueryList(regID);
regID="";

Expand Down

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit cd55e2b

Please sign in to comment.