优化
This commit is contained in:
+2
-1
@@ -33,7 +33,8 @@ test('offline orchestration model distinguishes processing replay recovery and c
|
||||
|
||||
test('POST complete is reliable acceptance only and returns PROCESSING/COMPLETING', () => {
|
||||
const start = loadingPickService.indexOf('public Task complete(')
|
||||
const end = loadingPickService.indexOf('/** Called only by the completion worker', start)
|
||||
const end = loadingPickService.indexOf('public void processCompletion(', start)
|
||||
assert.ok(start >= 0 && end > start)
|
||||
const block = loadingPickService.slice(start, end)
|
||||
assert.match(block, /LoadingCompletionCommandEntity/)
|
||||
assert.match(block, /acceptCompletion/)
|
||||
|
||||
Reference in New Issue
Block a user