[stats wf] indicators across stats dbs & updates in the org ids #248

Closed
dimitris.pierrakos wants to merge 1742 commits from beta into beta2master_sept_2022
1 changed files with 8 additions and 0 deletions
Showing only changes of commit 0210a14e43 - Show all commits

View File

@ -156,6 +156,10 @@ public class PromoteActionPayloadForGraphTableJobTest {
List<? extends Oaf> actualOutputRows = readGraphTableFromJobOutput(outputGraphTableDir.toString(), rowClazz)
.collectAsList()
.stream()
.map(s -> {
s.setLastupdatetimestamp(0L);
return s;
})
.sorted(Comparator.comparingInt(Object::hashCode))
.collect(Collectors.toList());
String expectedOutputGraphTableJsonDumpPath = resultFileLocation(strategy, rowClazz, actionPayloadClazz);
@ -168,6 +172,10 @@ public class PromoteActionPayloadForGraphTableJobTest {
expectedOutputGraphTableJsonDumpFile.toString(), rowClazz)
.collectAsList()
.stream()
.map(s -> {
s.setLastupdatetimestamp(0L);
return s;
})
.sorted(Comparator.comparingInt(Object::hashCode))
.collect(Collectors.toList());
assertIterableEquals(expectedOutputRows, actualOutputRows);