@dxos/functions-testing 0.8.4-main.69d29f4 → 0.8.4-main.937b3ca
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -11
- package/src/cpu-limit.test.ts +3 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/functions-testing",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.937b3ca",
|
|
4
4
|
"description": "Functions tests",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@effect/platform": "0.93.6",
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/config": "0.8.4-main.
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/functions-runtime
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/functions": "0.8.4-main.
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/protocols": "0.8.4-main.
|
|
50
|
-
"@dxos/
|
|
41
|
+
"@dxos/async": "0.8.4-main.937b3ca",
|
|
42
|
+
"@dxos/client": "0.8.4-main.937b3ca",
|
|
43
|
+
"@dxos/config": "0.8.4-main.937b3ca",
|
|
44
|
+
"@dxos/functions": "0.8.4-main.937b3ca",
|
|
45
|
+
"@dxos/functions-runtime": "0.8.4-main.937b3ca",
|
|
46
|
+
"@dxos/echo": "0.8.4-main.937b3ca",
|
|
47
|
+
"@dxos/functions-runtime-cloudflare": "0.8.4-main.937b3ca",
|
|
48
|
+
"@dxos/log": "0.8.4-main.937b3ca",
|
|
49
|
+
"@dxos/protocols": "0.8.4-main.937b3ca",
|
|
50
|
+
"@dxos/invariant": "0.8.4-main.937b3ca"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
package/src/cpu-limit.test.ts
CHANGED
|
@@ -86,9 +86,7 @@ describe.runIf(process.env.DX_TEST_TAGS?.includes('functions-e2e'))('CPU limit',
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
{
|
|
89
|
-
|
|
90
|
-
t.input!.iterations = 100;
|
|
91
|
-
});
|
|
89
|
+
trigger.input!.iterations = 100;
|
|
92
90
|
await sync(space);
|
|
93
91
|
const result = await functionsServiceClient.forceRunCronTrigger(space.id, trigger.id);
|
|
94
92
|
console.log(result);
|
|
@@ -134,15 +132,11 @@ describe.runIf(process.env.DX_TEST_TAGS?.includes('functions-e2e'))('CPU limit',
|
|
|
134
132
|
await sync(space);
|
|
135
133
|
await observeInvocations(space, 5);
|
|
136
134
|
|
|
137
|
-
|
|
138
|
-
t.input!.iterations = 1_000_000_000;
|
|
139
|
-
});
|
|
135
|
+
trigger.input!.iterations = 1_000_000_000;
|
|
140
136
|
await sync(space);
|
|
141
137
|
await observeInvocations(space, 10);
|
|
142
138
|
|
|
143
|
-
|
|
144
|
-
t.input!.iterations = 100;
|
|
145
|
-
});
|
|
139
|
+
trigger.input!.iterations = 100;
|
|
146
140
|
await sync(space);
|
|
147
141
|
await observeInvocations(space, 1_000);
|
|
148
142
|
});
|