aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-31 17:50:28 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-31 17:50:28 +0100
commit15f25480dddca4ad2af10f1bb96b4c8858cd4335 (patch)
tree0244e7e8e7687bd0d2443ad06c754a0ba1b9ff7c /server/tests
parentc8dc45d7337020902e3c177580a1060b9fa3297f (diff)
downloadPeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.gz
PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.tar.zst
PeerTube-15f25480dddca4ad2af10f1bb96b4c8858cd4335.zip
Split slow and fast api tests for travis
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/index-fast.ts13
-rw-r--r--server/tests/api/index-slow.ts4
-rw-r--r--server/tests/api/index.ts17
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
2import './config'
3import './check-params'
4import './friends-basic'
5import './users'
6import './single-pod'
7import './video-abuse'
8import './video-blacklist'
9import './video-blacklist-management'
10import './video-description'
11import './video-privacy'
12import './services'
13import './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
2import './multiple-pods'
3import './friends-advanced'
4import './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
2import './config' 2import './index-fast'
3import './check-params' 3import './index-slow'
4import './friends-basic'
5import './users'
6import './single-pod'
7import './video-abuse'
8import './video-blacklist'
9import './video-blacklist-management'
10import './video-description'
11import './video-privacy'
12import './multiple-pods'
13import './services'
14import './request-schedulers'
15import './friends-advanced'
16import './video-transcoder'