From 736afee4d915fedf69b2650d6fb2e818d29fde4e Mon Sep 17 00:00:00 2001 From: KillianG Date: Wed, 20 Nov 2024 15:45:48 +0100 Subject: [PATCH] Update test cases to reflect version changes for bucketd and zookeeper sources --- tests/unit/lifecycle/LifecycleConductor.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/lifecycle/LifecycleConductor.spec.js b/tests/unit/lifecycle/LifecycleConductor.spec.js index 3c39fe3fc..f83a6984e 100644 --- a/tests/unit/lifecycle/LifecycleConductor.spec.js +++ b/tests/unit/lifecycle/LifecycleConductor.spec.js @@ -242,7 +242,7 @@ describe('Lifecycle Conductor', () => { }); describe('_indexesGetOrCreate', () => { - it('should return v1 for bucketd bucket sources', () => { + it('should return v2 for bucketd bucket sources', () => { conductor._bucketSource = 'bucketd'; conductor._indexesGetOrCreate(testTask, log, (err, taskVersion) => { assert.ifError(err); @@ -250,11 +250,11 @@ describe('Lifecycle Conductor', () => { }); }); - it('should return v1 for zookeeper bucket sources', () => { + it('should return v2 for zookeeper bucket sources', () => { conductor._bucketSource = 'zookeeper'; conductor._indexesGetOrCreate(testTask, log, (err, taskVersion) => { assert.ifError(err); - assert.deepStrictEqual(taskVersion, lifecycleTaskVersions.v1); + assert.deepStrictEqual(taskVersion, lifecycleTaskVersions.v2); }); });