mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Fix broken tests under fast-test
This commit is contained in:
1 parent
87172dfb8d
commit
adb9ebafe1
1 file changed
+6
-1
@@ -641,7 +641,11 @@ describe("Integration of Clusterio", function() {
|
||||
await execCtl("instance create unassign --id 77");
|
||||
});
|
||||
after(async function() {
|
||||
await execCtl("instance delete spam");
|
||||
try {
|
||||
await execCtl("instance delete spam");
|
||||
} catch (err) {
|
||||
// Ignore
|
||||
}
|
||||
});
|
||||
for (let remote of [false, true]) {
|
||||
let pri = 44;
|
||||
@@ -783,6 +787,7 @@ describe("Integration of Clusterio", function() {
|
||||
|
||||
describe("instanceUpdateEventHandler()", function() {
|
||||
it("should have triggered for the previous instance status updates", function() {
|
||||
slowTest(this);
|
||||
let statusesToCheck = new Set([
|
||||
"unassigned", "unknown", "stopped", "creating_save", "exporting_data",
|
||||
"starting", "running", "stopping", "deleted",
|
||||
|
||||
Reference in new issue
Block a user