Skip to content

Commit c42208c

Browse files
nitzanjAmir Tocker
authored andcommitted
Set max_results to 500 in test12Transformations to ensure stability.
1 parent bcde370 commit c42208c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ public void test12Transformations() throws Exception {
377377
// should allow listing transformations
378378
final Transformation listTest = new Transformation().width(25).crop("scale").overlay(new TextLayer().text(SUFFIX + "_testListTransformations").fontFamily("Arial").fontSize(60));
379379
preloadResource(ObjectUtils.asMap("tags", UPLOAD_TAGS, "eager", Collections.singletonList(listTest)));
380-
Map result = api.transformations(ObjectUtils.emptyMap());
380+
Map result = api.transformations(ObjectUtils.asMap("max_results", 500));
381381
Map transformation = findByAttr((List<Map>) result.get("transformations"), "name", listTest.generate());
382382

383383
assertNotNull(transformation);

0 commit comments

Comments
 (0)