-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qe: Allow to run query engine test suite against wasm engines (#4467)
* qe: Allow to run query engine test suite against wasm engines
Intoroduces new environment variable/test config option,
`EXTERNAL_TEST_EXECUTOR_ENGINE` that can be either `NAPI` (default) or
`WASM` that affects which engine external test executor will start with.
Adds a bunch of additional test configs for driver adapters that
duplicate existing ones, but run against WASM engine.
Close prisma/team-orm#551
* Fixes & clippy
* Add GH Actions jobs
* Install wasm-pack
* Comment out WASM tests
* Remove `external_test_executor_engine` option
Specify engine option in `external_test_executor`
* fix native tests
* Adjust makefile and fix wasm build
* Docs
* Uncomment dependency
- Loading branch information
Serhii Tatarintsev
authored
Nov 22, 2023
1 parent
63a4fd9
commit 2c867f4
Showing
20 changed files
with
209 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"connector": "sqlite", | ||
"driver_adapter": "libsql", | ||
"external_test_executor": "default" | ||
"external_test_executor": "Napi" | ||
} |
5 changes: 5 additions & 0 deletions
5
query-engine/connector-test-kit-rs/test-configs/libsql-sqlite-wasm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"connector": "sqlite", | ||
"driver_adapter": "libsql", | ||
"external_test_executor": "Wasm" | ||
} |
Oops, something went wrong.