Eric
3737e147c4
use large linux runner and disable other tests
2025-06-04 15:52:09 +10:00
Eric
034bbc7672
undo changes done for CI debugging
2025-06-04 15:50:47 +10:00
Eric
29394329b3
temporarily remove linux test to see if macos works in ci
2025-06-04 15:50:46 +10:00
Eric
b20b12a232
Back off port inc in the hopes that this is causing issues with CI
2025-06-04 15:49:17 +10:00
Eric
627bdecee0
enable CI debugging
2025-06-04 15:49:17 +10:00
Eric
7eac5fe06b
disable windows integration tests for now
2025-06-04 15:49:17 +10:00
Eric
58cca7ce65
npm install to install the hardhat binary in CI
2025-06-04 15:49:17 +10:00
Eric
a7fd01c3de
formatting
...
trying to make nph happy
2025-06-04 15:49:17 +10:00
Eric
910af93dab
formatting
2025-06-04 15:49:16 +10:00
Eric
985d1243be
clean up
2025-06-04 15:49:16 +10:00
Eric
d2be32f7b0
use tracked futures for showContinuousStatusUpdates
2025-06-04 15:49:16 +10:00
Eric
d0c3da654c
formatting
2025-06-04 15:49:16 +10:00
Eric
b2c0e77f02
CI: do not start hardhat for integration tests
2025-06-04 15:49:16 +10:00
Eric
3ecfa25920
automatically enable chronicles logs for the test harness when DEBUG_TESTHARNESS=1
2025-06-04 15:49:16 +10:00
Eric
13ad7d0014
format info blurbs
2025-06-04 15:49:15 +10:00
Eric
034a6ade74
allow test parameters to be set from make testIntegration command
2025-06-04 15:49:15 +10:00
Eric
3564b7afeb
DIsable continuous updates by default (for CI)
2025-06-04 15:47:41 +10:00
Eric
5f3a2b70f1
fix rebase, formatting
2025-06-04 15:47:41 +10:00
Eric
528f27245d
fix rebase
2025-06-04 15:47:40 +10:00
Eric
f1c5daad9d
Use absolute path for binary when checking for existence
2025-06-04 15:47:40 +10:00
Eric
6987aefc84
fail early with message when hardhat binary not found
...
# Conflicts:
# tests/integration/hardhatprocess.nim
2025-06-04 15:47:40 +10:00
Eric
7a855f0f2b
remove unneeded sleep
2025-06-04 15:47:40 +10:00
Eric
e35fe07c2a
make onoutputline callback gcsafe
2025-06-04 15:47:40 +10:00
Eric
0ab4ec2678
increase port distance per test run
2025-06-04 15:47:40 +10:00
Eric
44537f8285
add constructor param for continuous status update in terminal
...
# Conflicts:
# tests/testIntegration.nim
2025-06-04 15:47:40 +10:00
Eric
b58d4c6aef
fix nodeprocess not exiting
2025-06-04 15:47:39 +10:00
Eric
a83142bfc2
ensure timeouts work
...
Work around the AsyncProcess timeout not working correctly
2025-06-04 15:47:39 +10:00
Eric
7dfd5e5f3e
continually show test status updates
...
allows user to know which tests are still running
2025-06-04 15:47:39 +10:00
Eric
77b0bbc11e
cleanup
...
# Conflicts:
# tests/testIntegration.nim
2025-06-04 15:47:39 +10:00
Eric
0c55913ff9
lock hardhat start to avoid intermittent start failures
2025-06-04 15:47:39 +10:00
Eric
aa1a52eb4f
clean up
2025-06-04 15:47:39 +10:00
Eric
f3f9e6c791
print hardhat testmanager errors and hardhat stdout when there is an error starting hardhat
2025-06-04 15:47:38 +10:00
Eric
90bb75bb85
hang manager off IntegrationTest, cleanup
...
- add a TestManager property to IntegrationTest, so manager does not need to be passed into all functions
- cleanup:
- remove unneeded stopHardhat function
- add hardhat instance to manager outside of startHardhat
2025-06-04 15:47:38 +10:00
Eric
3e29d414d2
pass hardhat port to ethersuite
...
# Conflicts:
# tests/ethertest.nim
2025-06-04 15:47:37 +10:00
Eric
d753a517d9
reinstate removed types
2025-06-04 15:46:34 +10:00
Eric
d6e9162f48
Add additional logging info print outs
...
# Conflicts:
# tests/integration/testcli.nim
2025-06-04 15:46:34 +10:00
Eric
fe77dd25e5
expect process exit code
...
prevents showing error in the logs when an expected process exit code is encountered
# Conflicts:
# tests/integration/testcli.nim
2025-06-04 15:46:33 +10:00
Eric
f7a3904774
stop hardhat and show logs
...
# Conflicts:
# tests/integration/hardhatprocess.nim
2025-06-04 15:46:33 +10:00
Eric
10eda3a0e9
default test name to the filename of the integration test
...
# Conflicts:
# tests/testIntegration.nim
2025-06-04 15:46:33 +10:00
Eric
9ffb0f41ad
print start/finish stderr/stdout markers
...
# Conflicts:
# tests/testIntegration.nim
2025-06-04 15:46:33 +10:00
Eric
b80b14480a
clean up
2025-06-04 15:46:33 +10:00
Eric
15462ce0f0
stdout formatting for test results
...
# Conflicts:
# tests/testIntegration.nim
2025-06-04 15:46:33 +10:00
Eric
2ed16a2e86
prevent errors during node shutdown
2025-06-04 15:46:32 +10:00
Eric
50cf49aebb
test summary formatting
2025-06-04 15:46:32 +10:00
Eric
739ff2fe88
parallel tests running
...
- need to test with longer tests to ensure the parallelisation is truly happening
- is the +10 hardhat port needed?
- try with more integration tests
# Conflicts:
# tests/integration/hardhatprocess.nim
# tests/integration/multinodes.nim
# tests/integration/testcli.nim
# tests/testIntegration.nim
2025-06-04 15:46:32 +10:00
Arnaud
2e1306ac2d
chore: fix custom error handling when simulating invalid proofs ( #1217 )
...
* Fix custom error handling when simulating invalid proofs
* Update error message
2025-06-03 12:11:18 +00:00
Arnaud
45ade0e3c1
chore(marketplace): use canMarkProofAsMissing ( #1188 )
...
* Add canProofBeMarkedAsMissing
* Add more tests
* Update contracts submodule
2025-06-03 09:08:57 +00:00
Arnaud
ca869f6dce
fix(availabilities): use totalRemainingCollateral instead of totalCollateral for comparaison ( #1229 )
...
* Use totalRemainingCollateral instead of totalCollateral to compare the availability changes
* Update test to use totalRemainingCollateral instead of totalCollateral when testing OnAvailabilitySaved
* Reduce poll interval
* Fix flaky test
* Fix format
2025-06-02 16:47:12 +00:00
Slava
e43872d0b8
chore: update testnet marketplace address ( #1245 )
...
https://github.com/codex-storage/nim-codex/issues/1241
v0.2.3
2025-05-30 09:12:55 +00:00
Giuliano Mega
d59c5b023c
chore: bump Nim to 2.2.4 ( #1242 )
...
* chore: bump Nim to 2.2.4
* fix: resolve symbol ambiguity and drop auto type
* fix: use reference to task instead of pointer or the compiler will deallocate `task` before the encoding/decoding is done
* fix: convention that maxCollateralPerByte equals totalRemainingCollateral when freeSize is 0 to avoid DivByZeroDefect
* fix: bump compiler version in CI pipeline as well
2025-05-29 16:37:38 -07:00