Skip to content

Commit 04fc312

Browse files
committed
Update tests for Eigenvector and Articlerank
1 parent 623c5ac commit 04fc312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

proc/centrality/src/test/java/org/neo4j/gds/pagerank/ArticleRankProcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void estimates(GdsCypher.ExecutionModes mode) {
248248

249249
assertCypherResult(
250250
queryBuilder.yields("bytesMin", "bytesMax"),
251-
List.of(Map.of("bytesMin", 552L, "bytesMax", 552L))
251+
List.of(Map.of("bytesMin", greaterThan(0L), "bytesMax", greaterThan(0L)))
252252
);
253253
}
254254
}

proc/centrality/src/test/java/org/neo4j/gds/pagerank/EigenvectorProcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ void estimates(GdsCypher.ExecutionModes mode) {
251251

252252
assertCypherResult(
253253
queryBuilder.yields("bytesMin", "bytesMax"),
254-
List.of(Map.of("bytesMin", 552L, "bytesMax", 552L))
254+
List.of(Map.of("bytesMin", greaterThan(0L), "bytesMax", greaterThan(0L)))
255255
);
256256
}
257257

0 commit comments

Comments
 (0)