fix(core): update
This commit is contained in:
@ -55,6 +55,7 @@ tap.test('SmartdataDistributedCoordinator should handle distributed task request
|
||||
|
||||
const mockTaskRequest: taskbuffer.distributedCoordination.IDistributedTaskRequest = {
|
||||
submitterId: "mockSubmitter12345", // Some unique mock submitter ID
|
||||
requestResponseId: 'uni879873462hjhfkjhsdf', // Some unique ID for the request-response
|
||||
taskName: "SampleTask",
|
||||
taskVersion: "1.0.0", // Assuming it's a version string
|
||||
taskExecutionTime: Date.now(),
|
||||
@ -105,7 +106,7 @@ tap.test('should elect only one leader amongst multiple instances', async (tools
|
||||
|
||||
tap.test('should clean up', async () => {
|
||||
await smartmongoInstance.stopAndDumpToDir(`.nogit/testdata/`);
|
||||
setTimeout(() => process.exit(0), 1000);
|
||||
setTimeout(() => process.exit(), 2000);
|
||||
})
|
||||
|
||||
tap.start({ throwOnError: true });
|
||||
|
Reference in New Issue
Block a user