Skip to content

Commit

Permalink
Enable timeout ensureSynchronized everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisman committed Oct 6, 2022
1 parent 20b16dc commit 9c7cdce
Show file tree
Hide file tree
Showing 28 changed files with 1,108 additions and 942 deletions.
6 changes: 6 additions & 0 deletions api-report/test-utils.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,10 @@ export class LoaderContainerTracker implements IOpProcessingController {
processOutgoing(...containers: IContainer[]): Promise<void>;
reset(): void;
resumeProcessing(...containers: IContainer[]): IContainer[];
// (undocumented)
setDefaultWaitTimeout(timeoutMs: number): void;
// (undocumented)
setScaledDefaultWaitTimeout(testTimeout: number): void;
}

// @public
Expand Down Expand Up @@ -322,6 +326,8 @@ export class TestObjectProvider implements ITestObjectProvider {
// (undocumented)
resetLoaderContainerTracker(syncSummarizerClients?: boolean): void;
// (undocumented)
setScaledDefaultWaitTimeout(timeout: number): void;
// (undocumented)
updateDocumentId(resolvedUrl: IResolvedUrl | undefined): void;
// (undocumented)
get urlResolver(): IUrlResolver;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ function executePerPropertyTreeType(codeDetails: IFluidCodeDetails,
describe("Local state", () => {
let propertyTree;

beforeEach(async () => {
beforeEach(async function() {
opProcessingController = new LoaderContainerTracker();
opProcessingController.setScaledDefaultWaitTimeout(this.timeout());

deltaConnectionServer = LocalDeltaConnectionServer.create();
urlResolver = new LocalResolver();

Expand Down
Loading

0 comments on commit 9c7cdce

Please sign in to comment.