Build optimization 6.07 (#2219)

* refactor testng

* refactor testng

* Remove test suites from surefire

* Refactor

* Refactor
This commit is contained in:
Grzegorz Piwowarek
2017-07-06 23:22:41 +02:00
committed by GitHub
parent c99bb7fced
commit b9b230f83e
66 changed files with 524 additions and 1311 deletions

View File

@@ -0,0 +1,14 @@
package com.baeldung;
import org.testng.Assert;
import org.testng.annotations.Test;
public class MultiThreadedIntegrationTest {
@Test(threadPoolSize = 5, invocationCount = 10, timeOut = 1000)
public void givenMethod_whenRunInThreads_thenCorrect() {
int count = Thread.activeCount();
Assert.assertTrue(count > 1);
}
}