bosagora / agora

POC Node implementation for CoinNet
https://bosagora.io
MIT License
36 stars 22 forks source link

Fix Integration test for mac os #3203

Closed hewison-chris closed 2 years ago

hewison-chris commented 2 years ago

sed command required updating as if run locally on a Mac the following error was preventing it running:-

sed: 1: "/Users/chrishewison/COD ...": command c expects \ followed by text
object.Exception@ci/system_integration_test.d(135): Command failed: ["sed", "-i", "s/genesis_timestamp: [0-9]\\+/genesis_timestamp: 1647398943/g", "/Users/chrishewison/CODE/agora/tests/system/node/0/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/2/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/3/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/4/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/5/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/6/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/7/config.yaml", "/Users/chrishewison/CODE/agora/tests/system/node/faucet/config.yaml"]
codecov[bot] commented 2 years ago

Codecov Report

Merging #3203 (9a8595b) into v0.x.x (6e3a0e7) will decrease coverage by 8.14%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           v0.x.x    #3203      +/-   ##
==========================================
- Coverage   87.32%   79.18%   -8.15%     
==========================================
  Files         163      209      +46     
  Lines       16760    18953    +2193     
==========================================
+ Hits        14636    15007     +371     
- Misses       2124     3946    +1822     
Flag Coverage Δ
integration 16.78% <ø> (?)
unittests 87.36% <ø> (+0.03%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
source/agora/test/NetworkDiscovery.d 84.09% <0.00%> (-4.55%) :arrow_down:
source/agora/consensus/protocol/Nominator.d 91.87% <0.00%> (-0.38%) :arrow_down:
...gora/submodules/ocean/src/ocean/util/log/ILogger.d 0.00% <0.00%> (ø)
agora/submodules/ocean/src/ocean/core/Test.d 0.00% <0.00%> (ø)
...rc/ocean/util/prometheus/collector/StatFormatter.d 0.00% <0.00%> (ø)
...ra/submodules/ocean/src/ocean/text/convert/Float.d 0.00% <0.00%> (ø)
...dules/ocean/src/ocean/text/convert/Integer_tango.d 60.24% <0.00%> (ø)
agora/submodules/ocean/src/ocean/time/Time.d 1.88% <0.00%> (ø)
agora/submodules/ocean/src/ocean/core/Exception.d 0.00% <0.00%> (ø)
agora/submodules/ocean/src/ocean/core/Buffer.d 0.00% <0.00%> (ø)
... and 41 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6e3a0e7...9a8595b. Read the comment docs.