-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: complete HTTP incoming handler tests (#317)
- Loading branch information
1 parent
b5734b8
commit fff3c57
Showing
9 changed files
with
78 additions
and
60 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
Submodule wasmtime
updated
3 files
+36 −0 | crates/test-programs/src/bin/api_proxy_streaming.rs | |
+9 −66 | crates/test-programs/src/bin/proxy_echo.rs | |
+59 −159 | crates/test-programs/src/bin/proxy_hash.rs |
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,8 +1,10 @@ | ||
import { _appendEnv } from "@bytecodealliance/preview2-shim/cli"; | ||
import { createIncomingServer } from "../server/index.js"; | ||
|
||
const authority = await createIncomingServer('api_proxy_streaming'); | ||
const authority1 = await createIncomingServer('api_proxy_streaming'); | ||
const authority2 = await createIncomingServer('api_proxy_streaming'); | ||
|
||
_appendEnv({ | ||
"HANDLER_API_PROXY_STREAMING": authority | ||
"HANDLER_API_PROXY_STREAMING1": authority1, | ||
"HANDLER_API_PROXY_STREAMING2": authority2 | ||
}); |
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