diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:50:28 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-31 17:50:28 +0100 |
commit | 15f25480dddca4ad2af10f1bb96b4c8858cd4335 (patch) | |
tree | 0244e7e8e7687bd0d2443ad06c754a0ba1b9ff7c /server/tests/api | |
parent | c8dc45d7337020902e3c177580a1060b9fa3297f (diff) | |
download | PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.gz PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.zst PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.zip |
Split slow and fast api tests for travis
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/index-fast.ts | 13 | ||||
-rw-r--r-- | server/tests/api/index-slow.ts | 4 | ||||
-rw-r--r-- | server/tests/api/index.ts | 17 |
3 files changed, 19 insertions, 15 deletions
diff --git a/server/tests/api/index-fast.ts b/server/tests/api/index-fast.ts new file mode 100644 index 000000000..f13d8155d --- /dev/null +++ b/server/tests/api/index-fast.ts | |||
@@ -0,0 +1,13 @@ | |||
1 | // Order of the tests we want to execute | ||
2 | import './config' | ||
3 | import './check-params' | ||
4 | import './friends-basic' | ||
5 | import './users' | ||
6 | import './single-pod' | ||
7 | import './video-abuse' | ||
8 | import './video-blacklist' | ||
9 | import './video-blacklist-management' | ||
10 | import './video-description' | ||
11 | import './video-privacy' | ||
12 | import './services' | ||
13 | import './request-schedulers' | ||
diff --git a/server/tests/api/index-slow.ts b/server/tests/api/index-slow.ts new file mode 100644 index 000000000..e3b50e57a --- /dev/null +++ b/server/tests/api/index-slow.ts | |||
@@ -0,0 +1,4 @@ | |||
1 | // Order of the tests we want to execute | ||
2 | import './multiple-pods' | ||
3 | import './friends-advanced' | ||
4 | import './video-transcoder' | ||
diff --git a/server/tests/api/index.ts b/server/tests/api/index.ts index 371f1bc43..258502d26 100644 --- a/server/tests/api/index.ts +++ b/server/tests/api/index.ts | |||
@@ -1,16 +1,3 @@ | |||
1 | // Order of the tests we want to execute | 1 | // Order of the tests we want to execute |
2 | import './config' | 2 | import './index-fast' |
3 | import './check-params' | 3 | import './index-slow' |
4 | import './friends-basic' | ||
5 | import './users' | ||
6 | import './single-pod' | ||
7 | import './video-abuse' | ||
8 | import './video-blacklist' | ||
9 | import './video-blacklist-management' | ||
10 | import './video-description' | ||
11 | import './video-privacy' | ||
12 | import './multiple-pods' | ||
13 | import './services' | ||
14 | import './request-schedulers' | ||
15 | import './friends-advanced' | ||
16 | import './video-transcoder' | ||