Skip to content

Commit

Permalink
fix integration test..
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBger committed Oct 18, 2024
1 parent 7f99cab commit 257dbd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/streamingfast/substreams:latest AS substreams
FROM ghcr.io/streamingfast/substreams:develop AS substreams
FROM bufbuild/buf AS buf
FROM rust:latest

Expand Down
5 changes: 3 additions & 2 deletions tests/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
#!/usr/bin/env bash
set -euxo pipefail

if [ "$TEST_LOCAL_CODEGEN" = "true" ]; then
substreams init --state-file /app/generator.json --force-download-cwd --codegen-endpoint http://172.17.0.1:9000
substreams init --state-file /app/generator.json --force-download-cwd --codegen-endpoint http://host.docker.internal:9000
else
substreams init --state-file /app/generator.json --force-download-cwd --codegen-endpoint https://codegen-staging.substreams.dev
fi
Expand Down
1 change: 0 additions & 1 deletion tests/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ func TestIntegration(t *testing.T) {
cors,
sessionStore,
zlog)

server.Run()
}()

Expand Down

0 comments on commit 257dbd1

Please sign in to comment.