videos:
http:
enabled: true
- proxy:
- enabled: false
- url: ""
+ proxy:
+ enabled: false
+ url: ""
torrent:
enabled: true
killall -q peertube || true
-perl -0777 -i -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: true$1url: "'"$PROXY_URL"'"#' config/test.yaml
+perl -0777 -i -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: true$1url: "https://cpy.re:7899"#' config/test.yaml
if [ "$1" = "misc" ]; then
npm run build -- --light-fr
})
it('Should not update a remote video if the remote instance is down', async function () {
- this.timeout(60000)
+ this.timeout(70000)
killallServers([ servers[ 1 ] ])
await reRunServer(servers[ 1 ])
- // Should not refresh the video, even if the last refresh failed (to avoid a loop on dead instances)
- await getVideo(servers[ 0 ].url, videoUUID3)
- await waitJobs(servers)
-
await getVideo(servers[ 0 ].url, videoUUID3, 200)
})
})
import { makeGetRequest, makeUploadRequest } from '../requests/requests'
function getYoutubeVideoUrl () {
- return 'https://youtu.be/msX3jv1XdvM'
+ return 'http://www.youtube.com/watch?v=msX3jv1XdvM'
}
function getMagnetURI () {