优化
This commit is contained in:
+3
-3
@@ -58,12 +58,12 @@ test('completion operation has durable PROCESSING and terminal response state',
|
||||
assert.match(completionCommand, /nextRetryAt/)
|
||||
assert.match(completionCommand, /completedAt/)
|
||||
assert.match(completionCommand, /failureStage/)
|
||||
const commandTable = unifiedSql.slice(unifiedSql.indexOf('CREATE TABLE IF NOT EXISTS fl_loading_completion_command'),
|
||||
unifiedSql.indexOf(';', unifiedSql.indexOf('CREATE TABLE IF NOT EXISTS fl_loading_completion_command')) + 1)
|
||||
const commandStart = unifiedSql.search(/CREATE TABLE(?: IF NOT EXISTS)? fl_loading_completion_command/)
|
||||
const commandTable = unifiedSql.slice(commandStart, unifiedSql.indexOf(';', commandStart) + 1)
|
||||
assert.match(commandTable, /command_status/i)
|
||||
assert.match(commandTable, /next_retry_at/i)
|
||||
assert.match(commandTable, /completed_at/i)
|
||||
assert.match(unifiedSql, /CREATE TABLE IF NOT EXISTS fl_loading_completion_checkpoint/)
|
||||
assert.match(unifiedSql, /CREATE TABLE(?: IF NOT EXISTS)? fl_loading_completion_checkpoint/)
|
||||
})
|
||||
|
||||
test('durable worker processes inbound settlements incrementally with retry backoff', () => {
|
||||
|
||||
Reference in New Issue
Block a user