diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-22 09:20:28 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-22 09:22:08 +0200 |
commit | 33b91e53d21fba295ecf516b717fb36e91990771 (patch) | |
tree | c3e6c31636a47b64c164c1e91ee2125bbc61339e /server/tests/external-plugins | |
parent | 679f8800cdc0ef925fae9ca26fb2892a8f475ad5 (diff) | |
download | PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.gz PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.zst PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.zip |
Remove low timeouts
Default timeout is 30s
Diffstat (limited to 'server/tests/external-plugins')
-rw-r--r-- | server/tests/external-plugins/auto-block-videos.ts | 6 | ||||
-rw-r--r-- | server/tests/external-plugins/auto-mute.ts | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/server/tests/external-plugins/auto-block-videos.ts b/server/tests/external-plugins/auto-block-videos.ts index cadd02e8d..95d7a4b58 100644 --- a/server/tests/external-plugins/auto-block-videos.ts +++ b/server/tests/external-plugins/auto-block-videos.ts | |||
@@ -71,8 +71,6 @@ describe('Official plugin auto-block videos', function () { | |||
71 | }) | 71 | }) |
72 | 72 | ||
73 | it('Should auto block a video', async function () { | 73 | it('Should auto block a video', async function () { |
74 | this.timeout(10000) | ||
75 | |||
76 | await check(servers[0], server2Videos[0].uuid, true) | 74 | await check(servers[0], server2Videos[0].uuid, true) |
77 | 75 | ||
78 | blocklistServer.replace({ | 76 | blocklistServer.replace({ |
@@ -98,8 +96,6 @@ describe('Official plugin auto-block videos', function () { | |||
98 | }) | 96 | }) |
99 | 97 | ||
100 | it('Should not block a local video', async function () { | 98 | it('Should not block a local video', async function () { |
101 | this.timeout(10000) | ||
102 | |||
103 | await check(servers[0], server1Videos[0].uuid, true) | 99 | await check(servers[0], server1Videos[0].uuid, true) |
104 | 100 | ||
105 | blocklistServer.replace({ | 101 | blocklistServer.replace({ |
@@ -116,8 +112,6 @@ describe('Official plugin auto-block videos', function () { | |||
116 | }) | 112 | }) |
117 | 113 | ||
118 | it('Should remove a video block', async function () { | 114 | it('Should remove a video block', async function () { |
119 | this.timeout(10000) | ||
120 | |||
121 | await check(servers[0], server2Videos[0].uuid, false) | 115 | await check(servers[0], server2Videos[0].uuid, false) |
122 | 116 | ||
123 | blocklistServer.replace({ | 117 | blocklistServer.replace({ |
diff --git a/server/tests/external-plugins/auto-mute.ts b/server/tests/external-plugins/auto-mute.ts index cfed76e88..a9bf3c173 100644 --- a/server/tests/external-plugins/auto-mute.ts +++ b/server/tests/external-plugins/auto-mute.ts | |||
@@ -50,8 +50,6 @@ describe('Official plugin auto-mute', function () { | |||
50 | }) | 50 | }) |
51 | 51 | ||
52 | it('Should add a server blocklist', async function () { | 52 | it('Should add a server blocklist', async function () { |
53 | this.timeout(10000) | ||
54 | |||
55 | blocklistServer.replace({ | 53 | blocklistServer.replace({ |
56 | data: [ | 54 | data: [ |
57 | { | 55 | { |
@@ -67,8 +65,6 @@ describe('Official plugin auto-mute', function () { | |||
67 | }) | 65 | }) |
68 | 66 | ||
69 | it('Should remove a server blocklist', async function () { | 67 | it('Should remove a server blocklist', async function () { |
70 | this.timeout(10000) | ||
71 | |||
72 | blocklistServer.replace({ | 68 | blocklistServer.replace({ |
73 | data: [ | 69 | data: [ |
74 | { | 70 | { |
@@ -85,8 +81,6 @@ describe('Official plugin auto-mute', function () { | |||
85 | }) | 81 | }) |
86 | 82 | ||
87 | it('Should add an account blocklist', async function () { | 83 | it('Should add an account blocklist', async function () { |
88 | this.timeout(10000) | ||
89 | |||
90 | blocklistServer.replace({ | 84 | blocklistServer.replace({ |
91 | data: [ | 85 | data: [ |
92 | { | 86 | { |
@@ -102,8 +96,6 @@ describe('Official plugin auto-mute', function () { | |||
102 | }) | 96 | }) |
103 | 97 | ||
104 | it('Should remove an account blocklist', async function () { | 98 | it('Should remove an account blocklist', async function () { |
105 | this.timeout(10000) | ||
106 | |||
107 | blocklistServer.replace({ | 99 | blocklistServer.replace({ |
108 | data: [ | 100 | data: [ |
109 | { | 101 | { |