Commit Graph

963 Commits

Author SHA1 Message Date
Anton Evangelatov
caa366bc6a variadic WithSubsystems 2021-07-07 13:35:40 +02:00
Anton Evangelatov
566a9d5541 fix signature 2021-07-06 18:12:30 +02:00
Anton Evangelatov
2a7af38538 fix testServ to Start with correct listener 2021-07-06 17:57:08 +02:00
Anton Evangelatov
7a78527fde remove not used sa; cleanup 2021-07-06 17:46:21 +02:00
Anton Evangelatov
8cf3accc53
Update itests/kit/ensemble.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-07-06 17:25:33 +02:00
Anton Evangelatov
9839d5701b fix SectorsStatus to query full node for on-chain data 2021-07-06 15:41:14 +02:00
Anton Evangelatov
5a87f04e71 fix finalize sectors early test 2021-07-05 13:36:23 +02:00
Anton Evangelatov
4be0a7a215 resolve conflicts with master 2021-07-05 13:13:32 +02:00
Łukasz Magiera
13d4563c25
Merge pull request #6663 from filecoin-project/raulk/test-incremental-nonce
add an incremental nonce itest.
2021-07-02 23:33:52 +02:00
Łukasz Magiera
8a94ab676e storage: Fix FinalizeSector with sectors in stoage paths 2021-07-02 19:54:45 +02:00
Raúl Kripalani
592b8c4f4a add an incremental nonce itest. 2021-07-02 17:04:13 +01:00
Anton Evangelatov
724f728f60 enable more tests 2021-07-02 14:54:09 +02:00
Anton Evangelatov
9e85492b85 fix test 2021-07-02 12:24:07 +02:00
Anton Evangelatov
3aa6d03cc1 connect miner to full node , only when running markets 2021-06-30 16:45:11 +02:00
Anton Evangelatov
4f0a96c9c7 resolved conflicts 2021-06-30 13:16:52 +02:00
Anton Evangelatov
9ec7cd7239 enable libp2p options 2021-06-30 12:55:43 +02:00
Łukasz Magiera
e9dd3e8650 Test Miner SimultaneousTransfers 2021-06-28 18:17:29 +02:00
Raúl Kripalani
6a48fbbc11 increase suspension threshold to 300. 2021-06-23 19:21:42 +01:00
Raúl Kripalani
58f348cb7f add ability to suspend deal-making until CE is stable. 2021-06-23 19:14:27 +01:00
Raúl Kripalani
9b3188d110 split deals tests. 2021-06-23 18:13:29 +01:00
Raúl Kripalani
f4d0db83d8 Merge branch 'raulk/circleci-dynamic' into raulk/itests-refactor-kit 2021-06-23 17:33:17 +01:00
Raúl Kripalani
211751f8b8 declare some tests as expensive. 2021-06-23 16:37:43 +01:00
Anton Evangelatov
a8d5ae5213 enable more tests 2021-06-23 13:39:03 +02:00
Anton Evangelatov
4217ec5308 make auth on remote rpc server optional 2021-06-23 13:27:03 +02:00
Anton Evangelatov
21b51328f9 adding TestDealWithMarketAndMinerNode 2021-06-23 12:44:52 +02:00
Anton Evangelatov
99646d209e fix TestFirstDealEnablesMining 2021-06-23 11:56:09 +02:00
Anton Evangelatov
7fb93d4585 refactor kit.NewDealHarness to include main miner and market node 2021-06-23 11:24:55 +02:00
Anton Evangelatov
51a4657ef7 fix SDR test 2021-06-23 11:19:25 +02:00
Anton Evangelatov
d98eca7260 Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes 2021-06-23 10:58:37 +02:00
Raúl Kripalani
b74ad796ce fix dangling import. 2021-06-22 21:39:20 +01:00
Raúl Kripalani
539f8c1f61 fix test that references private symbols; avoid hacky test selection flags. 2021-06-22 21:39:20 +01:00
Raúl Kripalani
2e9e1c2330 avoid double BlockMiner instantiation. 2021-06-22 18:15:38 +01:00
Raúl Kripalani
120dd14979 avoid double close. 2021-06-22 17:18:07 +01:00
Raúl Kripalani
9b2efd5ace try to deflake window post itests. 2021-06-22 17:07:14 +01:00
Anton Evangelatov
fc7feffaad Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes 2021-06-22 17:37:50 +02:00
Raúl Kripalani
098eb6bfff try using bg context on constructor. 2021-06-22 16:36:06 +01:00
Raúl Kripalani
71a7270c98 cleanup gateway RPC. 2021-06-22 16:36:06 +01:00
Raúl Kripalani
2a58f830c0 fix sector_terminate_test.go flakiness. 2021-06-22 16:36:06 +01:00
Anton Evangelatov
aa584475cc fix paych and sdr tests 2021-06-22 16:48:07 +02:00
Anton Evangelatov
218c9199f3 fix testNonGenesisMiner 2021-06-22 15:51:50 +02:00
Anton Evangelatov
4f2d8b0a85 add all subsystems to deadlines and wdpost_dispute tests 2021-06-22 15:35:46 +02:00
Anton Evangelatov
a828b15fbe revert MockSectorMgr 2021-06-22 15:22:08 +02:00
Anton Evangelatov
9567807144 Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes 2021-06-22 14:39:28 +02:00
Dirk McCormick
da789939b1 fix: bump blocktime of TestQuotePriceForUnsealedRetrieval to 1 second 2021-06-22 14:33:44 +02:00
Anton Evangelatov
b0d1668ab9 comment out preseal sectors 2021-06-22 13:34:45 +02:00
Anton Evangelatov
00618672f5 policy.SetPreCommitChallengeDelay to reduce WaitSeed stage time 2021-06-22 13:08:36 +02:00
Anton Evangelatov
5e10d53ca8 wip 2021-06-22 12:16:21 +02:00
Anton Evangelatov
6720463799 resolve merge conflicts 2021-06-22 11:28:23 +02:00
Raúl Kripalani
bb032b526c switch back to ws API. 2021-06-21 23:24:59 +01:00
Raúl Kripalani
0e2d06fc39 switch to http API. 2021-06-21 23:10:17 +01:00
Raúl Kripalani
502e104e6a typo. 2021-06-21 21:35:39 +01:00
Raúl Kripalani
e438ef99f8 fix merge error in window post dispute tests. 2021-06-21 21:25:55 +01:00
Raúl Kripalani
4fcd0b7aca disable resource filtering on scheduler. 2021-06-21 21:20:45 +01:00
Raúl Kripalani
b7a5e3cd0f Merge branch 'raulk/worker-disable-resource-filtering' into raulk/itests-refactor-kit 2021-06-21 21:09:04 +01:00
Raúl Kripalani
b6147fb27f extern/storage: retype resource filtering strategy to enum. 2021-06-21 20:28:15 +01:00
Raúl Kripalani
f3b6f8de1a add ability to ignore worker resources when scheduling. 2021-06-21 20:08:18 +01:00
Raúl Kripalani
c22e10c4a4 use mock proofs in TestQuotePriceForUnsealedRetrieval. 2021-06-21 18:29:25 +01:00
Raúl Kripalani
132b49728c Merge branch 'master' into raulk/itests-refactor-kit 2021-06-21 18:26:04 +01:00
Raúl Kripalani
70929a99e6 speed up test. 2021-06-21 18:24:39 +01:00
Raúl Kripalani
00fa3878d4 remove debug statement. 2021-06-21 18:22:08 +01:00
Raúl Kripalani
0879ac496f uncomment lines in TestDealCyclesConcurrent. 2021-06-21 18:21:10 +01:00
Raúl Kripalani
83ee345b1c Merge branch 'master' into raulk/itests-refactor-kit 2021-06-21 18:19:26 +01:00
Łukasz Magiera
b37a66c7c9 Merge remote-tracking branch 'origin/release/v1.10.0' into chore/merge-1.10 2021-06-21 17:03:03 +02:00
Raúl Kripalani
d1b291de5e fix proof types. 2021-06-21 13:24:25 +01:00
Raúl Kripalani
8a418bf982 rename {kit2=>kit}. 2021-06-18 19:45:29 +01:00
Raúl Kripalani
a7d8d15c13 kill old kit 🎉 2021-06-18 19:42:06 +01:00
raulk
a8bf7e7bad
Merge pull request #6510 from filecoin-project/refactor/itest-wdpost-dispute 2021-06-18 19:40:12 +01:00
Raúl Kripalani
718babd33a use miner owner address when posting proofs. 2021-06-18 19:38:17 +01:00
Raúl Kripalani
9604be6d2f Merge branch 'raulk/itests-refactor-kit' into refactor/itest-wdpost-dispute 2021-06-18 19:29:18 +01:00
Raúl Kripalani
3d8eb374bd cleaner instantiation of lite and gateway nodes + general cleanup. 2021-06-18 19:23:42 +01:00
Raúl Kripalani
3ae42d4648 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-multisig 2021-06-18 19:08:07 +01:00
Raúl Kripalani
5548541e1a fix default proof type to use for non-genesis miners.
We need to instantiate non-genesis miners with a _concrete_
proof type.
2021-06-18 18:10:42 +01:00
Anton Evangelatov
577b730415 wip 2021-06-18 18:42:34 +02:00
Raúl Kripalani
4c2cc8e5f7 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-deadling-toggling 2021-06-18 16:20:15 +01:00
Raúl Kripalani
e85af3cba7 fix merge error. 2021-06-18 16:19:58 +01:00
Raúl Kripalani
32327c7d43 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-deadling-toggling 2021-06-18 11:22:12 +01:00
Anton Evangelatov
89df3cc207 Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes 2021-06-18 12:07:15 +02:00
Raúl Kripalani
2548c224c7 switch to TestFullNode#WaitTillChain. 2021-06-18 10:27:20 +01:00
Raúl Kripalani
21848054d7 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-wdpost 2021-06-18 10:26:17 +01:00
Raúl Kripalani
9436be5ff0 introduce TestFullNode#WaitTillChain(predicate). 2021-06-17 22:02:20 +01:00
Anton Evangelatov
338bd042b9 Merge branch 'raulk/itests-refactor-kit' into nonsense/split-market-miner-processes 2021-06-17 18:12:48 +02:00
Dirk McCormick
7a9769b807 refactor: deadline toggling test to kit2 2021-06-17 14:58:35 +02:00
Dirk McCormick
3de6beabe3 refactor: wdpost dispute test to use kit2 2021-06-17 14:31:57 +02:00
Dirk McCormick
e9325fecc5 refactor: wdpost test to kit2 2021-06-17 14:31:20 +02:00
Dirk McCormick
6567887e6e refactor: sector terminate test to kit2 2021-06-17 14:27:44 +02:00
Dirk McCormick
8f608dff45 refactor: sector pledge test to use kit2 2021-06-17 09:37:35 +02:00
Raúl Kripalani
f1bf080e04 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-multisig 2021-06-16 20:00:11 +01:00
Raúl Kripalani
8ed753a712 rename RootVerifier option. 2021-06-16 18:16:59 +01:00
Raúl Kripalani
a3015ca9c2 Merge branch 'raulk/itests-refactor-kit' into refactor/itest-verifreg 2021-06-16 18:12:51 +01:00
Raúl Kripalani
d2ff0cd88e fix verifreg test; add VerifierRootKey() and Account() ensemble opts. 2021-06-16 18:11:34 +01:00
raulk
30148477a7
Merge pull request #6470 from filecoin-project/refactor/ccupgrade-test 2021-06-16 16:20:54 +01:00
Dirk McCormick
4ea73b4088 refactor: use genesis preseals from kit2 2021-06-16 14:42:28 +02:00
Raúl Kripalani
305e3245b6 Merge branch 'master' into raulk/itests-refactor-kit 2021-06-16 11:02:16 +01:00
raulk
fea5afd615
Merge pull request #6468 from filecoin-project/refactor/itest-tape
Refactor tape test to kit2
2021-06-16 10:58:08 +01:00
raulk
06cb3cf132
Merge pull request #6488 from filecoin-project/refactor/itest-sdr-upgrade 2021-06-16 10:49:03 +01:00
raulk
1d768a823f
Merge pull request #6484 from filecoin-project/refactor/itest-paych-cli
refactor paych cli tests to use kit2
2021-06-16 10:45:53 +01:00
raulk
a0894a866d
Merge pull request #6464 from filecoin-project/refactor/itest-cli
Refactor cli test to kit2
2021-06-16 10:42:29 +01:00
Dirk McCormick
cd903bec5e refactor: sdr upgrade test to use kit2 2021-06-15 17:30:51 +02:00
Dirk McCormick
cd53942525 refactor: batch deal test to use kit2 2021-06-15 15:38:09 +02:00
Dirk McCormick
2267d15a0f refactor: update paych cli tests to use kit2 2021-06-15 14:37:03 +02:00
Dirk McCormick
5ce482b817 refactor: change network upgrade NodeOption to node.Option 2021-06-15 13:53:41 +02:00
Dirk McCormick
16cad0e01a refactor: convert gateway tests to kit2 2021-06-15 11:46:32 +02:00
Dirk McCormick
2d5b798763 refactor: cli test with kit2 2021-06-15 09:08:56 +02:00
Dirk McCormick
4cd0964ab1 refactor: replace if err with require 2021-06-15 08:27:02 +02:00
Dirk McCormick
803a3df6b4 refactor: ccupgrade test 2021-06-15 08:21:02 +02:00
Raúl Kripalani
c27f3deadd start mining way more in the past. 2021-06-15 08:19:29 +02:00
Dirk McCormick
0bb5fffd88 refactor: clean up code 2021-06-15 08:09:14 +02:00
Raúl Kripalani
dae8be0881 migrate to require; use t.Log* instead of fmt.Print*. 2021-06-14 18:59:15 +01:00
Raúl Kripalani
8a7dba11bd add comment. 2021-06-14 18:58:40 +01:00
Raúl Kripalani
6fb31a34b3 start mining way more in the past. 2021-06-14 18:58:12 +01:00
Dirk McCormick
eb5a263d74 refactor: convert verifreg test to kit2 2021-06-14 16:19:20 +02:00
Dirk McCormick
d2c35db0c9 refactor: convert tape test to kit2 2021-06-14 15:51:10 +02:00
Dirk McCormick
7b00b1828b refactor: convert paych to kit2 2021-06-14 15:28:05 +02:00
Dirk McCormick
86cca7303d refactor: convert multisig tests to kit2 2021-06-14 14:03:08 +02:00
Dirk McCormick
d94a19ff65 refactor: cli test with kit2 2021-06-14 12:07:50 +02:00
Anton Evangelatov
31e6fb154e resolve conflicts 2021-06-14 11:27:54 +02:00
aarshkshah1992
3d086dfb43 changes as per review 2021-06-14 09:40:34 +05:30
Raúl Kripalani
ac67e466ec fix test. 2021-06-14 00:13:15 +01:00
Raúl Kripalani
f1ec0d6094 fix lint. 2021-06-14 00:10:37 +01:00
Raúl Kripalani
183814a826 finish migrating deals test. 2021-06-13 23:43:22 +01:00
Raúl Kripalani
e84b8ab3a0 move new kit into kit2, re-enable unmigrated tests against kit1. 2021-06-11 18:26:25 +01:00
aarshkshah1992
fed5afa704 merge master 2021-06-11 09:35:20 +05:30
Raúl Kripalani
8b037e2da3 deals tests: migrate deals cycles tests and add coverage. 2021-06-10 18:25:02 +01:00
Raúl Kripalani
dcd6fc239b deals tests: migrate TestOfflineDealFlow. 2021-06-10 15:54:16 +01:00
Raúl Kripalani
4f2aaa54d2 deals tests: refactor/simplify TestDealMining; now TestFirstDealEnablesMining. 2021-06-10 14:04:39 +01:00
Raúl Kripalani
329970934a deals tests: begin migration. 2021-06-10 13:25:36 +01:00
Raúl Kripalani
cf0150e057 deals harness: use require. 2021-06-10 12:23:27 +01:00
Raúl Kripalani
c27fdc263c deals harness: more improvements. 2021-06-10 12:22:55 +01:00
Raúl Kripalani
0d69c03a8d deals harness: use require. 2021-06-10 12:17:39 +01:00
Raúl Kripalani
0303a0297d rename DealHarness.{TestRetrieval=>PerformRetrieval}. 2021-06-10 12:15:03 +01:00
Raúl Kripalani
019394b9e5 remove debug statements. 2021-06-10 12:14:37 +01:00
Raúl Kripalani
d3fc6833a5 itests/kit: add guard to ensure imports from tests only. 2021-06-10 12:05:35 +01:00
Raúl Kripalani
bcbbd73d65 Merge branch 'raulk/itests' into raulk/itests-refactor-kit 2021-06-10 12:02:08 +01:00
Raúl Kripalani
fd783a6862 fix gateway URL. 2021-06-10 00:15:29 +01:00
Raúl Kripalani
39c19a0fe5 fix a merge error. 2021-06-10 00:15:29 +01:00
Raúl Kripalani
8ea7398d38 pacify gotestsum by adding a normal go file. 2021-06-10 00:15:29 +01:00
Raúl Kripalani
6d46be53bd make tests no longer create auth tokens. 2021-06-10 00:15:29 +01:00
Raúl Kripalani
6e4eae69ac fix merge error that led to test failures. 2021-06-09 23:11:34 +01:00
Raúl Kripalani
7df3f3755d itests: move init. 2021-06-09 17:32:08 +01:00
Raúl Kripalani
d1f749a808 fix log. 2021-06-09 00:46:57 +01:00
Raúl Kripalani
9eecbb1b20 fix rpc tests. 2021-06-09 00:17:39 +01:00
Raúl Kripalani
cd6f91ba6f fix lint. 2021-06-07 23:47:38 +01:00
Raúl Kripalani
a274fcc533 Merge branch 'master' into raulk/itests 2021-06-07 23:44:22 +01:00
Raúl Kripalani
db1a61852d Merge branch 'master' into raulk/itests 2021-06-07 23:17:44 +01:00
Raúl Kripalani
2bcedcf55f initial version of the new itest kit.
Still need to migrate all integration tests, add godocs,
and probably zap bugs.
2021-05-26 00:04:13 +01:00
Raúl Kripalani
75c88d0385 make gateway tests use gateway rpc setup methods. 2021-05-23 18:57:04 +01:00
Raúl Kripalani
f08c792686 minor renames. 2021-05-21 20:39:41 +01:00
Raúl Kripalani
416340d227 fix paych test; re-add pubsub bootstrapping. 2021-05-21 19:46:58 +01:00
Raúl Kripalani
63f929541f itests: fix gateway tests parameters. 2021-05-21 17:20:56 +01:00
Raúl Kripalani
bf36891972 fix lint errors. 2021-05-21 15:02:03 +01:00
Raúl Kripalani
2e9b0f0895 adapt cmd/lotus-storage-miner tests. 2021-05-21 14:52:30 +01:00
Raúl Kripalani
b56568d720 fix client tests. 2021-05-21 13:56:04 +01:00
Raúl Kripalani
20dfe220f3 fix lifecycle of BlockMiner. 2021-05-21 13:39:09 +01:00
Raúl Kripalani
25daa0c8e4 itests: create deal harness. 2021-05-20 16:12:42 +01:00
Raúl Kripalani
1902c4c687 itests: rename Builder methods. 2021-05-20 12:17:41 +01:00
Raúl Kripalani
06b8ee5b95 Merge branch 'master' into raulk/itests 2021-05-20 11:56:43 +01:00
Raúl Kripalani
2a70ff96bf move the gateway test to itests package. 2021-05-19 17:34:48 +01:00
Raúl Kripalani
6f4349064a fix bad rename. 2021-05-19 17:30:43 +01:00
Raúl Kripalani
5d34c8b7da wip move MineUntilBlock under BlockMiner; other simplifications. 2021-05-19 17:30:43 +01:00
Raúl Kripalani
2a71c47397 simplify BlockMiner. 2021-05-19 17:30:43 +01:00
Raúl Kripalani
0cfef0fdbb wip extract test kit. 2021-05-19 17:30:43 +01:00
Raúl Kripalani
41d0818347 wip pull all integration tests under itests/ 2021-05-19 17:30:43 +01:00
Raúl Kripalani
c46d4ae529 wip 2021-05-19 17:30:43 +01:00