44
44
@ Tag (Constants .xAzureSQLDW )
45
45
@ Tag (Constants .xAzureSQLDB )
46
46
@ Tag (Constants .reqExternalSetup )
47
+ @ Tag (Constants .requireSecret )
47
48
public class EnclaveTest extends AESetup {
48
49
/**
49
50
* Tests basic connection.
@@ -348,9 +349,6 @@ public void testChar(String serverName, String url, String protocol) throws Exce
348
349
createTable (CHAR_TABLE_AE , cekJks , charTable );
349
350
populateCharNormalCase (createCharValues (false ));
350
351
testAlterColumnEncryption (stmt , CHAR_TABLE_AE , charTable , cekJks );
351
- } catch (Exception e ) {
352
- System .out .println ("exception: " + e .getMessage ());
353
- e .printStackTrace ();
354
352
}
355
353
}
356
354
@@ -368,9 +366,6 @@ public void testCharAkv(String serverName, String url, String protocol) throws E
368
366
createTable (CHAR_TABLE_AE , cekAkv , charTable );
369
367
populateCharNormalCase (createCharValues (false ));
370
368
testAlterColumnEncryption (stmt , CHAR_TABLE_AE , charTable , cekAkv );
371
- } catch (Exception e ) {
372
- System .out .println ("exception: " + e .getMessage ());
373
- e .printStackTrace ();
374
369
}
375
370
}
376
371
@@ -414,9 +409,6 @@ public void testAlter(String serverName, String url, String protocol) throws Exc
414
409
pstmt = c .prepareStatement ("ALTER TABLE " + CHAR_TABLE_AE
415
410
+ " ALTER COLUMN RandomizedVarchar VARCHAR(20) NULL WITH (ONLINE = ON)" );
416
411
pstmt .execute ();
417
- } catch (Exception e ) {
418
- System .out .println ("exception: " + e .getMessage ());
419
- e .printStackTrace ();
420
412
}
421
413
}
422
414
@@ -444,9 +436,6 @@ public void testNumericRichQuery(String serverName, String url, String protocol)
444
436
assertTrue (3 == rs .getInt (3 ), "rs.getInt(3)=" + rs .getInt (3 ));
445
437
}
446
438
}
447
- } catch (Exception e ) {
448
- System .out .println ("exception: " + e .getMessage ());
449
- e .printStackTrace ();
450
439
}
451
440
}
452
441
@@ -475,9 +464,6 @@ public void testStringRichQuery(String serverName, String url, String protocol)
475
464
assertTrue (rs .getString (3 ).equalsIgnoreCase ("test" ), "rs.getString(3)=" + rs .getString (3 ));
476
465
}
477
466
}
478
- } catch (Exception e ) {
479
- System .out .println ("exception: " + e .getMessage ());
480
- e .printStackTrace ();
481
467
}
482
468
}
483
469
0 commit comments