Skip to content

Commit f2ed50d

Browse files
committed
drop! Run stress tests to list objects in SQL Server
1 parent e33ed88 commit f2ed50d

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

plugin/trino-sqlserver/src/test/java/io/trino/plugin/sqlserver/TestSqlServerConnectorTest.java

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import io.trino.testing.sql.TestTable;
2121
import org.jdbi.v3.core.Handle;
2222
import org.jdbi.v3.core.Jdbi;
23+
import org.junit.jupiter.api.RepeatedTest;
2324
import org.junit.jupiter.api.Test;
2425

2526
import java.sql.Connection;
@@ -276,4 +277,56 @@ private List<String> testTableNameTestData()
276277
.add("close]bracket")
277278
.build();
278279
}
280+
281+
@RepeatedTest(100)
282+
@Override
283+
public void testShowTablesLike()
284+
{
285+
super.testShowTablesLike();
286+
try {
287+
super.testUpdateRowConcurrently();
288+
}
289+
catch (Exception e) {
290+
throw new RuntimeException(e);
291+
}
292+
}
293+
294+
@RepeatedTest(100)
295+
@Override
296+
public void testSelectInformationSchemaTables()
297+
{
298+
super.testSelectInformationSchemaTables();
299+
try {
300+
super.testUpdateRowConcurrently();
301+
}
302+
catch (Exception e) {
303+
throw new RuntimeException(e);
304+
}
305+
}
306+
307+
@RepeatedTest(100)
308+
@Override
309+
public void testSelectInformationSchemaColumns()
310+
{
311+
super.testSelectInformationSchemaColumns();
312+
try {
313+
super.testUpdateRowConcurrently();
314+
}
315+
catch (Exception e) {
316+
throw new RuntimeException(e);
317+
}
318+
}
319+
320+
@RepeatedTest(100)
321+
@Override
322+
public void testBulkColumnListingOptions()
323+
{
324+
super.testBulkColumnListingOptions();
325+
try {
326+
super.testUpdateRowConcurrently();
327+
}
328+
catch (Exception e) {
329+
throw new RuntimeException(e);
330+
}
331+
}
279332
}

0 commit comments

Comments
 (0)