test: increase timeout of the tests

This commit is contained in:
Amin Yahyaabadi 2021-09-17 04:50:12 -05:00
parent a8477cb234
commit ca064b68e0
14 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
import { setupBrew } from "../brew" import { setupBrew } from "../brew"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-brew", () => { describe("setup-brew", () => {
it("should setup brew", async () => { it("should setup brew", async () => {
if (process.platform !== "darwin") { if (process.platform !== "darwin") {

View File

@ -2,7 +2,7 @@ import { setupCcache } from "../ccache"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { InstallationInfo } from "../../utils/setup/setupBin" import { InstallationInfo } from "../../utils/setup/setupBin"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-ccache", () => { describe("setup-ccache", () => {
it("should setup ccache", async () => { it("should setup ccache", async () => {
const installInfo = await setupCcache("", "", process.arch) const installInfo = await setupCcache("", "", process.arch)

View File

@ -2,7 +2,7 @@ import { InstallationInfo } from "../../utils/setup/setupBin"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { setupChocolatey } from "../chocolatey" import { setupChocolatey } from "../chocolatey"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-chocolatey", () => { describe("setup-chocolatey", () => {
it("should setup chocolatey", async () => { it("should setup chocolatey", async () => {
if (process.platform !== "win32") { if (process.platform !== "win32") {

View File

@ -1,7 +1,7 @@
import { setupCmake } from "../cmake" import { setupCmake } from "../cmake"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-cmake", () => { describe("setup-cmake", () => {
let directory: string let directory: string

View File

@ -1,7 +1,7 @@
import { setupConan } from "../conan" import { setupConan } from "../conan"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-conan", () => { describe("setup-conan", () => {
it("should setup conan", async () => { it("should setup conan", async () => {
const installInfo = await setupConan("", "", process.arch) const installInfo = await setupConan("", "", process.arch)

View File

@ -1,7 +1,7 @@
import { setupCppcheck } from "../cppcheck" import { setupCppcheck } from "../cppcheck"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-cppcheck", () => { describe("setup-cppcheck", () => {
it("should setup cppcheck", async () => { it("should setup cppcheck", async () => {
const installInfo = await setupCppcheck("", "", process.arch) const installInfo = await setupCppcheck("", "", process.arch)

View File

@ -2,7 +2,7 @@ import { setupDoxygen } from "../doxygen"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { InstallationInfo } from "../../utils/setup/setupBin" import { InstallationInfo } from "../../utils/setup/setupBin"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-doxygen", () => { describe("setup-doxygen", () => {
it("should setup doxygen", async () => { it("should setup doxygen", async () => {
const installInfo = await setupDoxygen("", "", process.arch) const installInfo = await setupDoxygen("", "", process.arch)

View File

@ -2,7 +2,7 @@ import { testBin } from "../../utils/tests/test-helpers"
import { setupGcc } from "../gcc" import { setupGcc } from "../gcc"
import { getVersion } from "../../default_versions" import { getVersion } from "../../default_versions"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-gcc", () => { describe("setup-gcc", () => {
it("should setup gcc", async () => { it("should setup gcc", async () => {
const version = getVersion("gcc", undefined) ?? "11" const version = getVersion("gcc", undefined) ?? "11"

View File

@ -1,7 +1,7 @@
import { setupGcovr } from "../gcovr" import { setupGcovr } from "../gcovr"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-gcovr", () => { describe("setup-gcovr", () => {
it("should setup gcovr", async () => { it("should setup gcovr", async () => {
const installInfo = await setupGcovr("", "", process.arch) const installInfo = await setupGcovr("", "", process.arch)

View File

@ -3,7 +3,7 @@ import { getSpecificVersionAndUrl } from "../../utils/setup/version"
import { isValidUrl } from "../../utils/http/validate_url" import { isValidUrl } from "../../utils/http/validate_url"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
async function testUrl(version: string) { async function testUrl(version: string) {
const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl) const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl)

View File

@ -1,7 +1,7 @@
import { setupMeson } from "../meson" import { setupMeson } from "../meson"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-meson", () => { describe("setup-meson", () => {
it("should setup meson", async () => { it("should setup meson", async () => {
const installInfo = await setupMeson("", "", process.arch) const installInfo = await setupMeson("", "", process.arch)

View File

@ -1,7 +1,7 @@
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
import { setupMSVC } from "../msvc" import { setupMSVC } from "../msvc"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-msvc", () => { describe("setup-msvc", () => {
it("should setup msvc", async () => { it("should setup msvc", async () => {
if (process.platform !== "win32") { if (process.platform !== "win32") {

View File

@ -1,7 +1,7 @@
import { setupNinja } from "../ninja" import { setupNinja } from "../ninja"
import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
async function testNinja(directory: string) { async function testNinja(directory: string) {
const { binDir } = await setupNinja("1.10.2", directory, "") const { binDir } = await setupNinja("1.10.2", directory, "")
await testBin("ninja", ["--version"], binDir) await testBin("ninja", ["--version"], binDir)

View File

@ -1,7 +1,7 @@
import { setupOpencppcoverage } from "../opencppcoverage" import { setupOpencppcoverage } from "../opencppcoverage"
import { testBin } from "../../utils/tests/test-helpers" import { testBin } from "../../utils/tests/test-helpers"
jest.setTimeout(200000) jest.setTimeout(300000)
describe("setup-OpenCppCoverage", () => { describe("setup-OpenCppCoverage", () => {
it("should setup OpenCppCoverage", async () => { it("should setup OpenCppCoverage", async () => {
if (process.platform !== "win32") { if (process.platform !== "win32") {