Skip to content

Commit

Permalink
Add timeouts to existing tests
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Feb 21, 2025
1 parent 9ce6d45 commit ea3ce68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/tests/suites/content.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ describe('Content Tests', {concurrent: true}, () => {
expect(error).toBeInstanceOf(Tools.SqlError);
expect(error.sqlstate).toBe('38501');
}
});
}, {timeout: 25000});

it('Test @clCommand + select statement', async () => {
const content = connection.getContent();
Expand Down
3 changes: 1 addition & 2 deletions src/api/tests/suites/encoding.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ describe('Encoding tests', {concurrent: true} ,() => {
});

it('Run variants through shells', async () => {

const text = `Hello${connection?.variantChars.local}world`;
const basicCommandA = `echo "${IBMi.escapeForShell(text)}"`;
const basicCommandB = `echo '${text}'`;
Expand Down Expand Up @@ -110,7 +109,7 @@ describe('Encoding tests', {concurrent: true} ,() => {
expect(paseTextResultA?.stdout).toBe(text);
expect(qshTextResultB?.stdout).toBe(text);
expect(paseTextResultB?.stdout).toBe(text);
});
}, {timeout: 25000});

it('streamfileResolve with dollar', async () => {
await connection.withTempDirectory(async tempDir => {
Expand Down

0 comments on commit ea3ce68

Please sign in to comment.