Skip to content

Commit aff3a24

Browse files
committed
format
1 parent 9edd5d5 commit aff3a24

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/MySQLDestinationAcceptanceTest.java

+12-6
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ protected void assertSameValue(final JsonNode expectedValue, final JsonNode actu
271271

272272
// Something is very weird in our connection check code. A wrong password takes >1 minute to return.
273273
// TODO investigate why invalid creds take so long to detect
274-
@Timeout(value=300, unit=SECONDS)
274+
@Timeout(value = 300,
275+
unit = SECONDS)
275276
@Test
276277
void testCheckIncorrectPasswordFailure() {
277278
final JsonNode config = ((ObjectNode) getConfigForBareMetalConnection()).put(JdbcUtils.PASSWORD_KEY, "fake");
@@ -281,7 +282,8 @@ void testCheckIncorrectPasswordFailure() {
281282
assertStringContains(status.getMessage(), "State code: 28000; Error code: 1045;");
282283
}
283284

284-
@Timeout(value=300, unit=SECONDS)
285+
@Timeout(value = 300,
286+
unit = SECONDS)
285287
@Test
286288
public void testCheckIncorrectUsernameFailure() {
287289
final JsonNode config = ((ObjectNode) getConfigForBareMetalConnection()).put(JdbcUtils.USERNAME_KEY, "fake");
@@ -291,7 +293,8 @@ public void testCheckIncorrectUsernameFailure() {
291293
assertStringContains(status.getMessage(), "State code: 28000; Error code: 1045;");
292294
}
293295

294-
@Timeout(value=300, unit=SECONDS)
296+
@Timeout(value = 300,
297+
unit = SECONDS)
295298
@Test
296299
public void testCheckIncorrectHostFailure() {
297300
final JsonNode config = ((ObjectNode) getConfigForBareMetalConnection()).put(JdbcUtils.HOST_KEY, "localhost2");
@@ -301,7 +304,8 @@ public void testCheckIncorrectHostFailure() {
301304
assertStringContains(status.getMessage(), "State code: 08S01;");
302305
}
303306

304-
@Timeout(value=300, unit=SECONDS)
307+
@Timeout(value = 300,
308+
unit = SECONDS)
305309
@Test
306310
public void testCheckIncorrectPortFailure() {
307311
final JsonNode config = ((ObjectNode) getConfigForBareMetalConnection()).put(JdbcUtils.PORT_KEY, "0000");
@@ -311,7 +315,8 @@ public void testCheckIncorrectPortFailure() {
311315
assertStringContains(status.getMessage(), "State code: 08S01;");
312316
}
313317

314-
@Timeout(value=300, unit=SECONDS)
318+
@Timeout(value = 300,
319+
unit = SECONDS)
315320
@Test
316321
public void testCheckIncorrectDataBaseFailure() {
317322
final JsonNode config = ((ObjectNode) getConfigForBareMetalConnection()).put(JdbcUtils.DATABASE_KEY, "wrongdatabase");
@@ -321,7 +326,8 @@ public void testCheckIncorrectDataBaseFailure() {
321326
assertStringContains(status.getMessage(), "State code: 42000; Error code: 1049;");
322327
}
323328

324-
@Timeout(value=300, unit=SECONDS)
329+
@Timeout(value = 300,
330+
unit = SECONDS)
325331
@Test
326332
public void testUserHasNoPermissionToDataBase() {
327333
executeQuery("create user '" + USERNAME_WITHOUT_PERMISSION + "'@'%' IDENTIFIED BY '" + PASSWORD_WITHOUT_PERMISSION + "';\n");

airbyte-integrations/connectors/destination-mysql/src/test-integration/java/io/airbyte/integrations/destination/mysql/SshMySQLDestinationAcceptanceTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
* Abstract class that allows us to avoid duplicating testing logic for testing SSH with a key file
3333
* or with a password.
3434
* <p>
35-
* This class probably should extend {@link MySQLDestinationAcceptanceTest} to further reduce
36-
* code duplication though.
35+
* This class probably should extend {@link MySQLDestinationAcceptanceTest} to further reduce code
36+
* duplication though.
3737
*/
3838
public abstract class SshMySQLDestinationAcceptanceTest extends JdbcDestinationAcceptanceTest {
3939

0 commit comments

Comments
 (0)