diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f93f904..4fc8fce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/src/erlfdb_util.erl b/src/erlfdb_util.erl index f60e857..2e7f4ba 100644 --- a/src/erlfdb_util.erl +++ b/src/erlfdb_util.erl @@ -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),