File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
integration-tests/src/test/java/com/datastax/oss/driver/core/cql Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -522,25 +522,15 @@ public void prepared_stmt_metadata_update_loopholes_test(
522
522
}
523
523
524
524
row = session .execute (stmtUDTTableWCS .bind (1 )).one ();
525
- try {
526
- assertThat (row .getUdtValue (1 ).size ()).isEqualTo (expectedColumnCount );
527
- // if isPreparedStatementInvalidationBroken is true it should throw exception
528
- assertThat (isPreparedStatementInvalidationBroken ).isFalse ();
529
- } catch (java .lang .IllegalArgumentException e ) {
530
- assertThat (isPreparedStatementInvalidationBroken ).isTrue ();
531
- }
525
+
526
+ assertThat (row .getUdtValue (1 ).size ()).isEqualTo (expectedColumnCount );
532
527
assertThat (row .getColumnDefinitions ().size ()).isEqualTo (2 );
533
528
assertThat (getUDTColumnCount (row .getColumnDefinitions ().get (1 )))
534
529
.isEqualTo (expectedColumnCount );
535
530
536
531
row = session .execute (stmtUDTTableTS .bind (1 )).one ();
537
- try {
538
- assertThat (row .getUdtValue (1 ).size ()).isEqualTo (expectedColumnCount );
539
- // if isPreparedStatementInvalidationBroken is true it should throw exception
540
- assertThat (isPreparedStatementInvalidationBroken ).isFalse ();
541
- } catch (java .lang .IllegalArgumentException e ) {
542
- assertThat (isPreparedStatementInvalidationBroken ).isTrue ();
543
- }
532
+
533
+ assertThat (row .getUdtValue (1 ).size ()).isEqualTo (expectedColumnCount );
544
534
assertThat (row .getColumnDefinitions ().size ()).isEqualTo (2 );
545
535
assertThat (getUDTColumnCount (row .getColumnDefinitions ().get (1 )))
546
536
.isEqualTo (expectedColumnCount );
You can’t perform that action at this time.
0 commit comments