mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
adjusting timeouts for GHA runs and adjusting GHA runner settings
This commit is contained in:
parent
048aff0ee4
commit
630c87fccc
2 changed files with 7 additions and 6 deletions
7
.github/workflows/extension-test.yml
vendored
7
.github/workflows/extension-test.yml
vendored
|
|
@ -9,8 +9,9 @@ on:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: windows-latest
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DISPLAY: :99
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
|
@ -30,6 +31,6 @@ jobs:
|
|||
run: npm run compile
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test:extension
|
||||
run: xvfb-run -a npm run test:extension
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -149,9 +149,9 @@ suite("Roo Code Extension Test Suite", () => {
|
|||
|
||||
test("Should handle prompt and response correctly", async function () {
|
||||
// @ts-ignore
|
||||
this.timeout(60000) // Increase timeout for API request
|
||||
this.timeout(120000) // Increase timeout for API request
|
||||
|
||||
const timeout = 30000
|
||||
const timeout = 60000
|
||||
const interval = 1000
|
||||
|
||||
// Get extension instance
|
||||
|
|
@ -252,7 +252,7 @@ suite("Roo Code Extension Test Suite", () => {
|
|||
while (Date.now() - startTime < timeout) {
|
||||
const models = await provider.readOpenRouterModels()
|
||||
if (models && Object.keys(models).length > 0) {
|
||||
console.log("OpenRouter models loaded")
|
||||
//console.log("OpenRouter models loaded")
|
||||
break
|
||||
}
|
||||
await new Promise((resolve) => setTimeout(resolve, interval))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue