Skip to content

Commit 638a130

Browse files
committed
Attempting to fix test errors
1 parent fcb995d commit 638a130

7 files changed

+9
-8
lines changed

docs/TESTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Add tests to `src/test/standard-workspace.test.ts` for standard workflow validat
118118

119119
```typescript
120120
test('New Workflow Feature', async function() {
121-
this.timeout(420000);
121+
this.timeout(620000);
122122

123123
const uiMock = new UIMockInterface();
124124
uiMock.activate();
@@ -142,7 +142,7 @@ Add tests to `src/test/west-git-workspace.test.ts` for git-based workflows:
142142

143143
```typescript
144144
test('Git Workflow Feature', async function() {
145-
this.timeout(420000);
145+
this.timeout(620000);
146146

147147
const gitUiMock = new UIMockInterface();
148148
gitUiMock.activate();

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,8 @@ export async function activate(context: vscode.ExtensionContext) {
12331233

12341234
context.subscriptions.push(
12351235
vscode.commands.registerCommand("zephyr-ide.install-sdk", async () => {
1236-
return await installSDKInteractive(wsConfig, globalConfig, context);
1236+
let ret = await installSDKInteractive(wsConfig, globalConfig, context);
1237+
return ret;
12371238
})
12381239
);
12391240

src/test/open-current-directory.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ suite("Open Current Directory Test Suite", () => {
102102
});
103103

104104
test("Open Current Directory: Git Setup → Detect West.yml → Build", async function () {
105-
this.timeout(420000);
105+
this.timeout(620000);
106106

107107
console.log("🚀 Starting open current directory test...");
108108

src/test/standard-workspace.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ suite("Standard Workspace Test Suite", () => {
112112
});
113113

114114
test("Complete Workflow: Dependencies → Setup → Project → Build → Execute", async function () {
115-
this.timeout(420000);
115+
this.timeout(620000);
116116

117117
console.log("🚀 Starting workflow test...");
118118

src/test/west-git-workspace.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ suite("West Git Workspace Test Suite", () => {
101101
});
102102

103103
test("Git Workspace Setup: West Git → SDK Install → Add Project → Custom Board Build", async function () {
104-
this.timeout(420000);
104+
this.timeout(620000);
105105

106106
console.log("🚀 Starting git workspace test...");
107107

src/test/workspace-out-of-tree.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ suite("Workspace Out Of Tree Test Suite", () => {
104104
});
105105

106106
test("Workspace Out Of Tree: Git Setup → Use Existing → Global → West Selector → Build", async function () {
107-
this.timeout(420000);
107+
this.timeout(620000);
108108

109109
console.log("🚀 Starting workspace out of tree test...");
110110

src/test/zephyr-ide-git-workspace.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ suite("Zephyr IDE Git Workspace Test Suite", () => {
103103
});
104104

105105
test("Zephyr IDE Git Workspace: Git Setup → SDK Install → Build", async function () {
106-
this.timeout(420000);
106+
this.timeout(620000);
107107

108108
console.log("🚀 Starting Zephyr IDE git workspace test...");
109109

0 commit comments

Comments
 (0)