Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local node in Bash tests when starting hybrid node #3667

Merged
merged 2 commits into from
Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pkg/storage/tracing/tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ func (t *tracingStorage) PrepareStorage(
defer func() {
dur := stopwatch()
log.Ctx(ctx).Debug().
Dur("duration", dur).
Object("spec", &spec).
Str("dir", storageDirectory).
Dur("Duration", dur).
Str("Alias", spec.Alias).
Str("Dir", storageDirectory).
Msg("storage prepared")
}()

Expand All @@ -74,8 +74,8 @@ func (t *tracingStorage) CleanupStorage(ctx context.Context, spec models.InputSo
defer func() {
dur := stopwatch()
log.Ctx(ctx).Debug().
Dur("duration", dur).
Object("spec", &spec).
Dur("Duration", dur).
Str("Alias", spec.Alias).
Msg("storage cleanup")
}()

Expand Down
2 changes: 1 addition & 1 deletion test/bin/bacalhau.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ create_node() {

# Ensure subsequent nodes automatically connect to this requester, and pick
# a random port for the HTTP API to avoid collisions
if test "$TYPE" = "requester"; then
if [[ "$TYPE" =~ "requester" ]]; then
source $BACALHAU_DIR/bacalhau.run
export BACALHAU_NODE_SERVERAPI_PORT=0
fi
Expand Down
Loading