Skip to content

Commit

Permalink
Merge pull request #5 from lafirest/fix/ctl
Browse files Browse the repository at this point in the history
test: fix API binding test errors
  • Loading branch information
lafirest authored Nov 18, 2023
2 parents dd44279 + 091a61d commit bed6d8a
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 bed6d8a

Please sign in to comment.