Skip to content

Commit

Permalink
test: fix API binding test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lafirest committed Nov 18, 2023
1 parent 9f54109 commit 091a61d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ jobs:
services:
foundationdb:
image: foundationdb/foundationdb:7.1.43
env:
REBAR_PROFILE: devcontainer
# Set to 1 for verbose rebar3 logging
DEBUG: 0
# Set to 1 for even more verbose rebar3 logging
DIAGNOSTIC: 0
steps:
- name: Check out repository code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/erlfdb_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ init_test_cluster_int(Options) ->
ClusterName = ?MODULE:get(Options, cluster_name, <<"erlfdbtest">>),
ClusterId = ?MODULE:get(Options, cluster_id, <<"erlfdbtest">>),

DefaultClusterFile = <<"/etc/foundationdb/fdb.cluster">>,
DefaultClusterFile = filename:join(Dir, <<"erlfdb.cluster">>),
ClusterFile = ?MODULE:get(Options, cluster_file, DefaultClusterFile),

write_cluster_file(ClusterFile, ClusterName, ClusterId, IpAddr, Port),
Expand Down

0 comments on commit 091a61d

Please sign in to comment.