Merge pull request #94 from SCS-ASSE-FS21-Group1/chaos-monkey-tests

chaos monkey tests
This commit is contained in:
reynisson
2021-11-29 00:18:03 +01:00
committed by GitHub
48 changed files with 2567 additions and 188 deletions

View File

@@ -1,5 +1,7 @@
package ch.unisg.executorpool;
import java.util.concurrent.TimeUnit;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
@@ -19,6 +21,14 @@ public class ExecutorPoolApplication {
private LoadExecutorPort loadExecutorPort;
public static void main(String[] args) {
try {
TimeUnit.SECONDS.sleep(10);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
SpringApplication.run(ExecutorPoolApplication.class, args);
}