Skip to content

Commit

Permalink
Merge pull request #46 from AO-StreetArt/ciUpdates
Browse files Browse the repository at this point in the history
Ci updates
  • Loading branch information
AO-StreetArt committed Mar 14, 2018
2 parents 8e4bdee + 0525ff4 commit 09f15f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ after_success:
after_failure:
- docker logs --tail 150 crazyivan
- docker logs --tail 150 clyman
- cat logs/testUtils.txt
- cd $TRAVIS_BUILD_DIR && cat logs/testUtils.txt
- cat logs/testModel_obj.txt
- cat logs/testModel_transform.txt
- cat logs/testModel_device.txt
Expand Down
6 changes: 6 additions & 0 deletions src/test/java/adrestia/integration/ObjectDaoTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ public void testObjectCrud() throws Exception {
ObjectList getResp2 = objData.get(clymanKey);
assert (getResp2.getErrorCode() == 100);
assert (getResp2.getNumRecords() > 0);
testLogger.println("Update Test Result: ");
testLogger.println(getResp2.getDocuments()[0].getType());
testLogger.println(getResp2.getDocuments()[0].getOwner());
assert (getResp2.getDocuments()[0].getType().equals("TestType2"));
assert (getResp2.getDocuments()[0].getOwner().equals("TestOwner2"));

Expand All @@ -109,6 +112,9 @@ public void testObjectCrud() throws Exception {
ObjectList ovrCheckResp = objData.get(clymanKey);
assert (ovrCheckResp.getErrorCode() == 100);
assert (ovrCheckResp.getNumRecords() > 0);
testLogger.println("Overwrite Test Result: ");
testLogger.println(ovrCheckResp.getDocuments()[0].getTransform()[0]);
testLogger.println(ovrCheckResp.getDocuments()[0].getTransform()[3]);
assert (ovrCheckResp.getDocuments()[0].getTransform()[0] - 1.0 < 0.001);
assert (ovrCheckResp.getDocuments()[0].getTransform()[3] - 1.0 < 0.001);

Expand Down

0 comments on commit 09f15f0

Please sign in to comment.