Skip to content

Commit

Permalink
fixup! test: turn off pack_served_chunks by default
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPiechota committed Feb 4, 2025
1 parent 1274f6e commit 6031d6f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/arweave/test/ar_test_data_sync.erl
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@ setup_nodes2(#{ peer_addr := PeerAddr } = Options) ->
{Value, Options}
end,
{ok, Config} = application:get_env(arweave, config),
Options3 = Options2#{ config => Config },
Options3 = Options2#{ config => Config#config{
enable = Config#config.enable ++ [pack_served_chunks] } },
ar_test_node:start(Options3),
{ok, PeerConfig} = ar_test_node:remote_call(peer1, application, get_env, [arweave, config]),
ar_test_node:start_peer(peer1, B0, PeerAddr, PeerConfig),
ar_test_node:start_peer(peer1, B0, PeerAddr, PeerConfig#config{
enable = Config#config.enable ++ [pack_served_chunks] }),
ar_test_node:connect_to_peer(peer1),
Wallet.

Expand Down

0 comments on commit 6031d6f

Please sign in to comment.