mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-01 12:46:07 +00:00
ci: shuffle ciphers before running service tests
This commit is contained in:
parent
7f8204bc0c
commit
97266a46fa
|
@ -2,6 +2,7 @@ import { env } from "../config.js";
|
||||||
import { runTest } from "../misc/run-test.js";
|
import { runTest } from "../misc/run-test.js";
|
||||||
import { loadJSON } from "../misc/load-from-fs.js";
|
import { loadJSON } from "../misc/load-from-fs.js";
|
||||||
import { Red, Bright } from "../misc/console-text.js";
|
import { Red, Bright } from "../misc/console-text.js";
|
||||||
|
import { randomizeCiphers } from "../misc/randomize-ciphers.js";
|
||||||
|
|
||||||
import { services } from "../processing/service-config.js";
|
import { services } from "../processing/service-config.js";
|
||||||
|
|
||||||
|
@ -40,6 +41,7 @@ switch (action) {
|
||||||
|
|
||||||
env.streamLifespan = 10000;
|
env.streamLifespan = 10000;
|
||||||
env.apiURL = 'http://x';
|
env.apiURL = 'http://x';
|
||||||
|
randomizeCiphers();
|
||||||
|
|
||||||
for (const test of tests[service]) {
|
for (const test of tests[service]) {
|
||||||
const { name, url, params, expected } = test;
|
const { name, url, params, expected } = test;
|
||||||
|
|
Loading…
Reference in a new issue