Skip to content

Commit 0d9fa09

Browse files
committed
remove speed test as it is flacky
1 parent 8f1f038 commit 0d9fa09

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/cubejs-schema-compiler/test/integration/postgres/dataschema-compiler.test.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -186,23 +186,6 @@ describe('DataSchemaCompiler', () => {
186186
})
187187
`;
188188

189-
it('Should compile 200 schemas in less than 2500ms * 10', async () => {
190-
const repeats = 200;
191-
192-
const compilerWith = prepareJsCompiler(schema, { allowJsDuplicatePropsInSchema: false });
193-
const start = new Date().getTime();
194-
for (let i = 0; i < repeats; i++) {
195-
delete compilerWith.compiler.compilePromise; // Reset compile result
196-
await compilerWith.compiler.compile();
197-
}
198-
const end = new Date().getTime();
199-
const time = end - start;
200-
201-
expect(time).toBeLessThan(2500 * 10);
202-
});
203-
});
204-
});
205-
206189
it('calculated metrics', async () => {
207190
const { compiler, cubeEvaluator, joinGraph } = prepareJsCompiler(`
208191
cube('visitors', {

0 commit comments

Comments
 (0)