Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: flaky unit test should be able to timer (#4043)

X1a0t441e70674620
diff --git a/apps/server/src/tests/prometheus-metrics.spec.ts b/apps/server/src/tests/prometheus-metrics.spec.ts
index c4feddd58a..954935f3d1 100644
--- a/apps/server/src/tests/prometheus-metrics.spec.ts
+++ b/apps/server/src/tests/prometheus-metrics.spec.ts
@@ -55,7 +55,7 @@ test('should be able to timer', async () => {
'quantile' in observation.labels
) {
ok(observation.value >= 0.05);
- ok(observation.value <= 0.15);
+ ok(observation.value <= 0.2);
}
}
});