chaos monkey tests

This commit is contained in:
2021-11-28 18:20:36 +01:00
parent 8bfc231a7e
commit 453cd37217
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);
}