Skip to content

Commit 7606448

Browse files
authored
Fix CI by changing an expectation in testExportDownloadAndImport (#970)
1 parent ddd4304 commit 7606448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/gitlab4j/api/TestImportExportApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public void testExportDownloadAndImport() throws GitLabApiException {
138138
System.out.println("Downloading exported project");
139139
exportDownload = gitLabApi.getImportExportApi().downloadExport(testProject, null);
140140
assertNotNull(exportDownload);
141-
assertTrue(exportDownload.length() > 10000);
141+
assertTrue(exportDownload.length() > 2000, "length is not as expected. Current value: " + exportDownload.length());
142142

143143
ImportStatus importStatus = gitLabApi.getImportExportApi().startImport(null, exportDownload,
144144
TEST_IMPORT_PROJECT_NAME, true, null);

0 commit comments

Comments
 (0)