[project-history] report a resync that is still pending after a flush (#36122)

GitOrigin-RevId: ccd4390048c09f732531d2e02a40336fce88a952
This commit is contained in:
Jakob Ackermann
2026-09-17 11:45:55 +00:00
committed by Copybot
parent 9be1b4edb4
commit eb36edac6d
19 changed files with 588 additions and 151 deletions
@@ -9,6 +9,7 @@ describe('HttpController', function () {
beforeEach(async function () {
this.UpdatesProcessor = {
processUpdatesForProject: sinon.stub().yields(),
flushResyncUpdates: sinon.stub().yields(),
}
this.SummarizedUpdatesManager = {
getSummarizedProjectUpdates: sinon.stub(),
@@ -298,7 +299,7 @@ describe('HttpController', function () {
})
it('should flush the queue', function () {
this.UpdatesProcessor.processUpdatesForProject
this.UpdatesProcessor.flushResyncUpdates
.calledWith(this.projectId)
.should.equal(true)
})