Fix jasmine timeout for SignalR daily tests (#8748)
This commit is contained in:
parent
d24ec01224
commit
5e8a7ad725
|
|
@ -5,7 +5,7 @@ import { HttpTransportType, IHubProtocol, JsonHubProtocol } from "@aspnet/signal
|
||||||
import { MessagePackHubProtocol } from "@aspnet/signalr-protocol-msgpack";
|
import { MessagePackHubProtocol } from "@aspnet/signalr-protocol-msgpack";
|
||||||
|
|
||||||
// On slower CI machines, these tests sometimes take longer than 5s
|
// On slower CI machines, these tests sometimes take longer than 5s
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10 * 1000;
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20 * 1000;
|
||||||
|
|
||||||
export let ENDPOINT_BASE_URL: string = "";
|
export let ENDPOINT_BASE_URL: string = "";
|
||||||
export let ENDPOINT_BASE_HTTPS_URL: string = "";
|
export let ENDPOINT_BASE_HTTPS_URL: string = "";
|
||||||
|
|
|
||||||
|
|
@ -17,9 +17,6 @@ const commonOptions: IHttpConnectionOptions = {
|
||||||
logger: TestLogger.instance,
|
logger: TestLogger.instance,
|
||||||
};
|
};
|
||||||
|
|
||||||
// On slower CI machines, these tests sometimes take longer than 5s
|
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10 * 1000;
|
|
||||||
|
|
||||||
describe("connection", () => {
|
describe("connection", () => {
|
||||||
it("can connect to the server without specifying transport explicitly", (done) => {
|
it("can connect to the server without specifying transport explicitly", (done) => {
|
||||||
const message = "Hello World!";
|
const message = "Hello World!";
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,6 @@ const TESTHUBENDPOINT_HTTPS_URL = ENDPOINT_BASE_HTTPS_URL ? (ENDPOINT_BASE_HTTPS
|
||||||
|
|
||||||
const TESTHUB_NOWEBSOCKETS_ENDPOINT_URL = ENDPOINT_BASE_URL + "/testhub-nowebsockets";
|
const TESTHUB_NOWEBSOCKETS_ENDPOINT_URL = ENDPOINT_BASE_URL + "/testhub-nowebsockets";
|
||||||
|
|
||||||
// On slower CI machines, these tests sometimes take longer than 5s
|
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10 * 1000;
|
|
||||||
|
|
||||||
const commonOptions: IHttpConnectionOptions = {
|
const commonOptions: IHttpConnectionOptions = {
|
||||||
logMessageContent: true,
|
logMessageContent: true,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue