mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-20 16:07:11 +08:00
feat(ql3): reconcile local lost run retries
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
'use strict';
|
||||
|
||||
const assert = require('node:assert/strict');
|
||||
const { test } = require('node:test');
|
||||
|
||||
const generic = require('../dist/run/clusterRunLostRetry');
|
||||
|
||||
test('publishes profile-neutral lost retry names without breaking Cluster consumers', () => {
|
||||
assert.equal(
|
||||
generic.MAX_RUN_LOST_RETRY_PAGE_SIZE,
|
||||
generic.MAX_CLUSTER_RUN_LOST_RETRY_PAGE_SIZE,
|
||||
);
|
||||
assert.equal(
|
||||
generic.buildRunLostRetryTransition,
|
||||
generic.buildClusterRunLostRetryTransition,
|
||||
);
|
||||
assert.equal(
|
||||
generic.RunLostRetryCoordinator,
|
||||
generic.ClusterRunLostRetryCoordinator,
|
||||
);
|
||||
assert.equal(
|
||||
generic.RunLostRetryUnavailableError,
|
||||
generic.ClusterRunLostRetryUnavailableError,
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user