update test based http

Signed-off-by: Shenyx <shenyuxiang3@h-partners.com>
Change-Id: I07f8e7fce8832061d12c3bb08d1830944aa86e58
This commit is contained in:
Shenyx 2024-10-30 09:22:50 +08:00
parent d85649559d
commit 89f1638a39

View File

@ -366,7 +366,7 @@ export default function requestDownloadFileTest() {
*/
it('testDownloadFileOn003', 0, async function (done) {
let conf = {
url: 'https://www.aaaaaaa.com/test.txt',
url: 'http://www.ylong_http.client.com/test.txt',
}
let task = await request.downloadFile(context, conf);
try {
@ -954,7 +954,7 @@ export default function requestDownloadFileTest() {
*/
it('testDownloadFileOff010', 0, async function (done) {
let conf = {
url: 'https://www.aaaaaaa.com/test.txt',
url: 'http://www.ylong_http.client.com/test.txt',
}
let task = await request.downloadFile(context, conf);
try {
@ -992,7 +992,7 @@ export default function requestDownloadFileTest() {
fs.unlinkSync(filePath);
}
let conf = {
url: 'https://www.aaaaaaa.com/test.txt',
url: 'http://www.ylong_http.client.com/test.txt',
}
let task = await request.downloadFile(context, conf);
try {
@ -1384,7 +1384,7 @@ export default function requestDownloadFileTest() {
fs.unlinkSync(filePath);
}
let conf = {
url: 'https://www.aaaaaaa.com/test.txt',
url: 'http://www.ylong_http.client.com/test.txt',
}
let task = await request.downloadFile(context, conf);
try {
@ -1422,7 +1422,7 @@ export default function requestDownloadFileTest() {
fs.unlinkSync(filePath);
}
let conf = {
url: 'https://www.aaaaaaa.com/test.txt',
url: 'http://www.ylong_http.client.com/test.txt',
}
let task = await request.downloadFile(context, conf);
try {