aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-core
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2024-05-13 16:04:12 +0200
committersonartech <sonartech@sonarsource.com>2024-05-13 20:02:41 +0000
commit231f2957a2eb6c8040ffa6644891eb39bb509c2c (patch)
tree790d752541e67374e7bd208e6da4fdf69b6f0516 /server/sonar-webserver-core
parentd7e76d5efc0cd4e94aa548371c51efeeee003fc3 (diff)
downloadsonarqube-231f2957a2eb6c8040ffa6644891eb39bb509c2c.tar.gz
sonarqube-231f2957a2eb6c8040ffa6644891eb39bb509c2c.zip
NO-JIRA remove unused import
Diffstat (limited to 'server/sonar-webserver-core')
-rw-r--r--server/sonar-webserver-core/src/test/java/org/sonar/server/platform/db/migration/DatabaseMigrationImplConcurrentAccessTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/db/migration/DatabaseMigrationImplConcurrentAccessTest.java b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/db/migration/DatabaseMigrationImplConcurrentAccessTest.java
index 07b055255e5..16b529b138d 100644
--- a/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/db/migration/DatabaseMigrationImplConcurrentAccessTest.java
+++ b/server/sonar-webserver-core/src/test/java/org/sonar/server/platform/db/migration/DatabaseMigrationImplConcurrentAccessTest.java
@@ -30,7 +30,6 @@ import org.junit.Test;
import org.sonar.server.platform.Platform;
import org.sonar.server.platform.db.migration.engine.MigrationEngine;
import org.sonar.server.platform.db.migration.step.MigrationStatusListener;
-import org.sonar.server.platform.db.migration.step.NoOpMigrationStatusListener;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.Mockito.mock;
@@ -56,7 +55,7 @@ public class DatabaseMigrationImplConcurrentAccessTest {
private AtomicInteger triggerCount = new AtomicInteger();
private MigrationEngine incrementingMigrationEngine = new MigrationEngine() {
@Override
- public void execute(MigrationStatusListener listener){
+ public void execute(MigrationStatusListener listener) {
// need execute to consume some time to avoid UT to fail because it ran too fast and threads never executed concurrently
try {
Thread.sleep(200);