mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Mark user creation tests as slow
Mark the "should not create the user if not instructed to" and "should create the user if instructed to" tests as slow as these take more than 2 seconds to execute on travis.
This commit is contained in:
1 parent
6621e37e23
commit
0cca9ed22c
1 file changed
+2
@@ -197,6 +197,7 @@ describe("Integration of Clusterio", function() {
|
||||
}
|
||||
});
|
||||
it("should not create the user if not instructed to", async function() {
|
||||
slowTest(this);
|
||||
for (let list of lists) {
|
||||
try {
|
||||
await execCtl(`user set-${list} no_create_test`);
|
||||
@@ -206,6 +207,7 @@ describe("Integration of Clusterio", function() {
|
||||
assert.equal(user, undefined, "user was unexpectedly created");
|
||||
});
|
||||
it("should create the user if instructed to", async function() {
|
||||
slowTest(this);
|
||||
for (let list of lists) {
|
||||
await execCtl(`user set-${list} --create test_create_${list}`);
|
||||
let user = (await getUsers()).get(`test_create_${list}`);
|
||||
|
||||
Reference in new issue
Block a user