Eric
dd1a761a5e
Back off port inc in the hopes that this is causing issues with CI
2025-02-19 15:43:21 +11:00
Eric
d606f9978b
enable CI debugging
2025-02-19 15:43:21 +11:00
Eric
86a19967cd
disable windows integration tests for now
2025-02-19 15:43:21 +11:00
Eric
618dc5b026
npm install to install the hardhat binary in CI
2025-02-19 15:43:20 +11:00
Eric
9ebc95fe89
formatting
...
trying to make nph happy
2025-02-19 15:43:20 +11:00
Eric
a99949228b
formatting
2025-02-19 15:43:20 +11:00
Eric
8e8cbc511f
clean up
2025-02-19 15:43:20 +11:00
Eric
7132983e1d
use tracked futures for showContinuousStatusUpdates
2025-02-19 15:43:19 +11:00
Eric
b290ee758e
formatting
2025-02-19 15:43:19 +11:00
Eric
2315b0f1d2
CI: do not start hardhat for integration tests
2025-02-19 15:43:19 +11:00
Eric
6051c64f30
automatically enable chronicles logs for the test harness when DEBUG_TESTHARNESS=1
2025-02-19 15:43:18 +11:00
Eric
533c508932
format info blurbs
2025-02-19 15:41:48 +11:00
Eric
c0d114972d
allow test parameters to be set from make testIntegration command
2025-02-19 15:41:48 +11:00
Eric
a5396953fe
DIsable continuous updates by default (for CI)
2025-02-19 15:41:48 +11:00
Eric
583792f52c
fix rebase, formatting
2025-02-19 15:41:47 +11:00
Eric
849fd00a2c
fix rebase
2025-02-19 15:41:47 +11:00
Eric
ca3aeb28cf
Use absolute path for binary when checking for existence
2025-02-19 15:41:47 +11:00
Eric
567a8444cb
fail early with message when hardhat binary not found
...
# Conflicts:
# tests/integration/hardhatprocess.nim
2025-02-19 15:41:47 +11:00
Eric
cc8f00e707
remove unneeded sleep
2025-02-19 15:41:46 +11:00
Eric
9b0eca0815
make onoutputline callback gcsafe
2025-02-19 15:41:46 +11:00
Eric
aea6c99a69
increase port distance per test run
2025-02-19 15:41:46 +11:00
Eric
7f058deece
add constructor param for continuous status update in terminal
...
# Conflicts:
# tests/testIntegration.nim
2025-02-19 15:41:45 +11:00
Eric
749f65b134
fix nodeprocess not exiting
2025-02-19 15:41:45 +11:00
Eric
8501220fda
ensure timeouts work
...
Work around the AsyncProcess timeout not working correctly
2025-02-19 15:41:45 +11:00
Eric
92513e083e
continually show test status updates
...
allows user to know which tests are still running
2025-02-19 15:41:45 +11:00
Eric
2ef044dfcb
cleanup
...
# Conflicts:
# tests/testIntegration.nim
2025-02-19 15:41:44 +11:00
Eric
a46bf719ef
lock hardhat start to avoid intermittent start failures
2025-02-19 15:41:44 +11:00
Eric
ff8ac244bd
clean up
2025-02-19 15:41:44 +11:00
Eric
beb270de3d
print hardhat testmanager errors and hardhat stdout when there is an error starting hardhat
2025-02-19 15:41:43 +11:00
Eric
f4712684ba
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-02-19 15:41:43 +11:00
Eric
62e538a596
pass hardhat port to ethersuite
...
# Conflicts:
# tests/ethertest.nim
2025-02-19 15:41:43 +11:00
Eric
f55831a2c8
reinstate removed types
2025-02-19 15:41:43 +11:00
Eric
0a8487618a
Add additional logging info print outs
...
# Conflicts:
# tests/integration/testcli.nim
2025-02-19 15:41:42 +11:00
Eric
34f445993d
expect process exit code
...
prevents showing error in the logs when an expected process exit code is encountered
# Conflicts:
# tests/integration/testcli.nim
2025-02-19 15:41:42 +11:00
Eric
6a18238205
stop hardhat and show logs
...
# Conflicts:
# tests/integration/hardhatprocess.nim
2025-02-19 15:41:42 +11:00
Eric
e4c035651f
default test name to the filename of the integration test
...
# Conflicts:
# tests/testIntegration.nim
2025-02-19 15:41:42 +11:00
Eric
cf9134861e
print start/finish stderr/stdout markers
...
# Conflicts:
# tests/testIntegration.nim
2025-02-19 15:41:41 +11:00
Eric
1400848f86
clean up
2025-02-19 15:41:41 +11:00
Eric
ce4b1d439c
stdout formatting for test results
...
# Conflicts:
# tests/testIntegration.nim
2025-02-19 15:41:41 +11:00
Eric
7252a32579
prevent errors during node shutdown
2025-02-19 15:41:40 +11:00
Eric
40142fa684
test summary formatting
2025-02-19 15:41:40 +11:00
Eric
93d3de315e
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-02-19 15:41:40 +11:00
Eric
14a223fb36
fix after rebase
2025-02-19 15:41:40 +11:00
Eric
66683a8606
clean up
2025-02-19 15:41:39 +11:00
Eric
3aed1ead53
chore(integration): simplify block expiration integration test
2025-02-19 15:41:32 +11:00
Eric
87590f43ce
fix(statemachine): do not raise from state.run ( #1115 )
...
* fix(statemachine): do not raise from state.run
* fix rebase
* fix exception handling in SaleProvingSimulated.prove
- re-raise CancelledError
- don't return State on CatchableError
- expect the Proofs_InvalidProof custom error instead of checking a string
* asyncSpawn salesagent.onCancelled
This was swallowing a KeyError in one of the tests (fixed in the previous commit)
* remove error handling states in asyncstatemachine
* revert unneeded changes
* formatting
* PR feedback, logging updates
2025-02-19 00:18:45 +00:00
Adam Uhlíř
1052dad30c
feat: request duration limit ( #1057 )
...
* feat: request duration limit
* Fix tests and duration type
* Add custom error
* Remove merge issue
* Update codex contracts eth
* Update market config and fix test
* Fix SlotReservationsConfig syntax
* Update dependencies
* test: remove doubled test
* chore: update contracts repo
---------
Co-authored-by: Arnaud <arnaud@status.im>
2025-02-18 19:41:54 +00:00
Arnaud
2298a0bf81
Use results instead of stew/results ( #1112 )
2025-02-18 10:17:05 +00:00
Arnaud
0107eb06fe
chore(marketplace): cid should be bytes ( #1073 )
...
* Change cid format from string to bytes for the marketplace
* refactor: marketplace custom errors handling
* chore: update contracts repo
* chore: update contracts submodule
* Update contracts submodule
* Initialize the Cid using init function
* Restorage serialize pragma
* Use Cid object instead of buffer
* Simplify cid usage
* Simplify cid usage
* bump codex-contracts-eth after PR merge, formatting
* fix rebase
* collateralPerByte => collateralPerSlot
---------
Co-authored-by: Adam Uhlíř <adam@uhlir.dev>
Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
2025-02-18 05:47:47 +00:00
Arnaud
6e73338425
Remove deprecated function ( #1111 )
...
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
2025-02-17 22:04:04 +00:00