Skip to content

Commit 8e2d72a

Browse files
committed
Rbroughan/check errors (#9867)
1 parent cfe8860 commit 8e2d72a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

airbyte-commons-worker/src/main/java/io/airbyte/workers/sync/WorkloadApiWorker.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,20 +80,19 @@ public ReplicationOutput run(final ReplicationInput replicationInput, final Path
8080
int i = 0;
8181
while (true) {
8282
final Workload workload = getWorkload(workloadId);
83-
83+
8484
if (workload.getStatus() != null) {
8585
if (TERMINAL_STATUSES.contains(workload.getStatus())) {
8686
break;
8787
}
88-
88+
8989
if (i % 5 == 0) {
9090
log.info("Workload {} is {}", workloadId, workload.getStatus());
9191
}
9292
i++;
9393
}
9494
sleep(Duration.ofMinutes(1).toMillis());
9595
}
96-
9796

9897
return getReplicationOutput();
9998
}

airbyte-db/db-lib/src/test/java/io/airbyte/db/instance/configs/migrations/V0_50_33_005__CreateInstanceAdminPermissionForDefaultUser_Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.junit.jupiter.api.BeforeEach;
2525
import org.junit.jupiter.api.Test;
2626

27-
public class V0_50_33_005__CreateInstanceAdminPermissionForDefaultUser_Test extends AbstractConfigsDatabaseTest {
27+
class V0_50_33_005__CreateInstanceAdminPermissionForDefaultUser_Test extends AbstractConfigsDatabaseTest {
2828

2929
private static final UUID DEFAULT_USER_ID = UUID.fromString("00000000-0000-0000-0000-000000000000");
3030
// The user table is quoted to avoid conflict with the reserved user keyword in Postgres.

airbyte-workload-launcher/src/test/kotlin/pods/PodLabelerTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class PodLabelerTest {
7171
)
7272
}
7373

74+
@SuppressWarnings("PMD.UnusedFormalParameter")
7475
@ParameterizedTest
7576
@MethodSource("replInputWorkloadIdMatrix")
7677
fun getWorkloadLabels(
@@ -88,6 +89,7 @@ class PodLabelerTest {
8889
)
8990
}
9091

92+
@SuppressWarnings("PMD.UnusedFormalParameter")
9193
@ParameterizedTest
9294
@MethodSource("replInputWorkloadIdMatrix")
9395
fun getMutexLabels(

0 commit comments

Comments
 (0)