Skip to content

Commit 07c6700

Browse files
committed
Limit NDC to 10,000
1 parent d4ebcca commit 07c6700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/java/com/imsweb/seerapi/compare/ComparisonTest.java

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ void testNdc() throws IOException {
7676
params.put("page", String.valueOf(page));
7777
prodList = prodService.search(params).execute().body();
7878
localList = localService.search(params).execute().body();
79+
80+
// there are way too many entities; limit to 10,000
81+
if (processed >= 10_000)
82+
break;
7983
}
8084
}
8185

0 commit comments

Comments
 (0)