File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
api/src/test/java/io/kafbat/ui Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 3434public abstract class AbstractIntegrationTest {
3535 public static final String LOCAL = "local" ;
3636 public static final String SECOND_LOCAL = "secondLocal" ;
37- protected static final int timeout = 100 ;
3837
3938 private static final boolean IS_ARM =
4039 System .getProperty ("os.arch" ).contains ("arm" ) || System .getProperty ("os.arch" ).contains ("aarch64" );
@@ -101,7 +100,7 @@ public void initialize(@NotNull ConfigurableApplicationContext context) {
101100
102101 System .setProperty ("dynamic.config.enabled" , "true" );
103102 System .setProperty ("config.related.uploads.dir" , tmpDir .toString ());
104- System .setProperty (GITHUB_RELEASE_INFO_TIMEOUT , String .valueOf (timeout ));
103+ System .setProperty (GITHUB_RELEASE_INFO_TIMEOUT , String .valueOf (100 ));
105104 }
106105 }
107106
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ public class ApplicationInfoServiceTest extends AbstractIntegrationTest {
1212
1313 @ Test
1414 public void testCustomGithubReleaseInfoTimeout () {
15- assertEquals (timeout , service .githubReleaseInfo ().getGithubApiMaxWaitTime ());
15+ assertEquals (100 , service .githubReleaseInfo ().getGithubApiMaxWaitTime ());
1616 }
1717}
You can’t perform that action at this time.
0 commit comments