intentionally slowdown entity tests
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
Some checks failed
studiorailgun/Renderer/pipeline/head There was a failure building this commit
This commit is contained in:
parent
3962b7e5c6
commit
881ff98308
@ -1794,6 +1794,7 @@ Work to unify opengl error reporting
|
||||
Explicitly scream if trying to bind a shader that is invalid
|
||||
Support for freeing shaders
|
||||
Utilities to free all of a type of resource
|
||||
Slowdown entity tests to prevent VSCode from exploding when running tests
|
||||
|
||||
|
||||
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
package electrosphere.test.template.extensions;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import org.junit.jupiter.api.extension.AfterEachCallback;
|
||||
import org.junit.jupiter.api.extension.BeforeEachCallback;
|
||||
import org.junit.jupiter.api.extension.ExtensionContext;
|
||||
@ -24,6 +26,8 @@ public class EntityExtension implements BeforeEachCallback, AfterEachCallback {
|
||||
@Override
|
||||
public void afterEach(ExtensionContext context) throws Exception {
|
||||
Main.shutdown();
|
||||
//sleep to keep the ide from exploding when running tests manually
|
||||
TimeUnit.MILLISECONDS.sleep(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user