Skip to content

Commit 638693e

Browse files
committed
chore: await store init and set port on test
1 parent accfc63 commit 638693e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

typegate/src/typegate/artifacts/shared.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export class SharedArtifactStore extends ArtifactStore {
9090
.pipeTo(file.writable);
9191

9292
const hash = hasher.digest("hex");
93+
console.log(`Persisting artifact to S3`);
9394
await this.#s3.putObject({
9495
Bucket: this.#syncConfig.s3Bucket,
9596
Key: resolveS3Key(hash),

typegate/src/typegate/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class Typegate {
106106
);
107107
}
108108
const limiter = await RedisRateLimiter.init(syncConfig.redis);
109-
const artifactStore = SharedArtifactStore.init(syncConfig);
109+
const artifactStore = await SharedArtifactStore.init(syncConfig);
110110
const typegate = new Typegate(null!, limiter, artifactStore, syncConfig);
111111
const register = await ReplicatedRegister.init(
112112
typegate,

typegate/tests/runtimes/wasmedge/wasmedge_sync_test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,5 @@ Meta.test("WasmEdge Runtime typescript SDK: Sync Config", async (metaTest) => {
8989
async teardown() {
9090
await cleanUp();
9191
},
92+
port: true,
9293
});

0 commit comments

Comments
 (0)