diff options
| author | Mohammad Sulaiman <mohammad.sulaiman@exalt.ps> | 2024-11-05 08:39:05 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-05 06:39:05 +0000 |
| commit | 89f0b796bd442ff352c3f93f69156ca6d85bfd5e (patch) | |
| tree | 3ac2a58c6d85f6af57eb2c6b07b1f2d0e8687b3a /tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable | |
| parent | f9a05068d6de247574fb764044a446d1d7ed2e9b (diff) | |
chore: deprecate run itests (#26444)
Diffstat (limited to 'tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable')
3 files changed, 0 insertions, 123 deletions
diff --git a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.out b/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.out deleted file mode 100644 index c344d0aae..000000000 --- a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.out +++ /dev/null @@ -1,100 +0,0 @@ -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31 -32 -33 -34 -35 -36 -37 -38 -39 -40 -41 -42 -43 -44 -45 -46 -47 -48 -49 -50 -51 -52 -53 -54 -55 -56 -57 -58 -59 -60 -61 -62 -63 -64 -65 -66 -67 -68 -69 -70 -71 -72 -73 -74 -75 -76 -77 -78 -79 -80 -81 -82 -83 -84 -85 -86 -87 -88 -89 -90 -91 -92 -93 -94 -95 -96 -97 -98 -99 diff --git a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.ts b/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.ts deleted file mode 100644 index 0832e40be..000000000 --- a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/main.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as path from "http://localhost:4545/deno_std/path/mod.ts"; - -const currentDir = path.dirname(path.fromFileUrl(import.meta.url)); -const url = path.toFileUrl(path.join(currentDir, "./mod.ts")); -const urls = []; - -// this is hard to reproduce, but doing this will help -for (let i = 0; i < 100; i++) { - urls.push(url.toString() + "#" + i); -} - -const results = await Promise.all(urls.map((url) => import(url))); - -for (const result of results) { - result.outputValue(); -} diff --git a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/mod.ts b/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/mod.ts deleted file mode 100644 index 56f2002ed..000000000 --- a/tests/testdata/run/dynamic_import_concurrent_non_statically_analyzable/mod.ts +++ /dev/null @@ -1,7 +0,0 @@ -// sleep a bit so many concurrent tasks end up -// attempting to build the graph at the same time -import "http://localhost:4545/sleep/10"; - -export function outputValue() { - console.log(parseInt(new URL(import.meta.url).hash.slice(1), 10)); -} |
