kubectl system run test
parent
6487d8f07c
commit
61e8452dc1
|
@ -126,6 +126,7 @@ describe('Cloud Runner Locking', () => {
|
|||
expect(
|
||||
await SharedWorkspaceLocking.GetOrCreateLockedWorkspace(newWorkspaceName, runId, buildParameters),
|
||||
).toBeTruthy();
|
||||
expect(CloudRunner.lockedWorkspace).toMatch(newWorkspaceName);
|
||||
}, 150000);
|
||||
it(`Get Or Create From Locked`, async () => {
|
||||
Cli.options.retainWorkspaces = true;
|
||||
|
@ -148,6 +149,7 @@ describe('Cloud Runner Locking', () => {
|
|||
expect(
|
||||
await SharedWorkspaceLocking.GetOrCreateLockedWorkspace(newWorkspaceName, runId, buildParameters),
|
||||
).toBeTruthy();
|
||||
expect(CloudRunner.lockedWorkspace === newWorkspaceName).toBeTruthy();
|
||||
}, 150000);
|
||||
it(`Get Or Create From Unlocked Was Locked`, async () => {
|
||||
Cli.options.retainWorkspaces = true;
|
||||
|
@ -170,6 +172,7 @@ describe('Cloud Runner Locking', () => {
|
|||
expect(
|
||||
await SharedWorkspaceLocking.GetOrCreateLockedWorkspace(newWorkspaceName, runId, buildParameters),
|
||||
).toBeTruthy();
|
||||
expect(CloudRunner.lockedWorkspace === newWorkspaceName).toBeTruthy();
|
||||
}, 150000);
|
||||
it.skip('All Locking Actions', async () => {
|
||||
Cli.options.retainWorkspaces = true;
|
||||
|
|
Loading…
Reference in New Issue