Skip to content

Commit

Permalink
Merge pull request #461 from v-afrafi/skipLongRunningTests
Browse files Browse the repository at this point in the history
Skip long running tests
  • Loading branch information
AfsanehR-zz authored Aug 31, 2017
2 parents 7e7ada5 + ff085a5 commit 5597d4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import com.microsoft.sqlserver.testframework.Utils;

@RunWith(JUnitPlatform.class)
public class ImpISQLServerBulkRecord_IssuesTest extends AbstractTest {
public class ISQLServerBulkRecordIssuesTest extends AbstractTest {

static Statement stmt = null;
static PreparedStatement pStmt = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import javax.sql.ConnectionEvent;
import javax.sql.PooledConnection;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.runner.RunWith;
Expand Down Expand Up @@ -462,6 +463,7 @@ public void testInvalidCombination() throws SQLServerException {
}

@Test
@Tag("slow")
public void testIncorrectDatabaseWithFailoverPartner() throws SQLServerException {
long timerStart = 0;
long timerEnd = 0;
Expand Down Expand Up @@ -522,6 +524,7 @@ public void testGetSchema() throws SQLException {
* @throws InterruptedException
*/
@Test
@Tag("slow")
public void testThreadInterruptedStatus() throws InterruptedException {
Runnable runnable = new Runnable() {
public void run() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.sql.DriverManager;
import java.sql.SQLException;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.runner.RunWith;
Expand All @@ -31,6 +32,7 @@ public class TimeoutTest extends AbstractTest {
final int waitForDelaySeconds = 10;

@Test
@Tag("slow")
public void testDefaultLoginTimeout() {
long timerStart = 0;
long timerEnd = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import java.util.concurrent.Executors;
import java.util.concurrent.atomic.AtomicReference;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.runner.RunWith;
Expand Down Expand Up @@ -130,6 +131,7 @@ public void testBatchedUnprepare() throws SQLException {
* @throws SQLException
*/
@Test
@Tag("slow")
public void testStatementPooling() throws SQLException {
// Test % handle re-use
try (SQLServerConnection con = (SQLServerConnection)DriverManager.getConnection(connectionString)) {
Expand Down

0 comments on commit 5597d4d

Please sign in to comment.