William Banfield
9efe490ec3
update new test name and comment
2021-09-24 10:43:29 -04:00
William Banfield
f9941c4d09
update validatePrevotes to correctly look for nil
2021-09-24 10:40:55 -04:00
William Banfield
a0f7dce51c
state.go comment fixes
2021-09-24 10:38:16 -04:00
William Banfield
7d8c047586
update prevote logic to prevote POL from previous round
2021-09-24 10:29:24 -04:00
William Banfield
7faa2e6537
add failing test for POL from previous round case
2021-09-24 10:28:22 -04:00
William Banfield
eec74413e7
state_test.go fixes to accomodate prevoting for nil
2021-09-23 19:07:48 -04:00
William Banfield
73bef72af3
fix defaultDoPrevote
2021-09-23 18:54:41 -04:00
William Banfield
c00c2b4738
fix prevote nil condition
2021-09-23 18:30:10 -04:00
William Banfield
a1ea25d005
add test for nil prevote on different proposal
2021-09-23 17:43:03 -04:00
William Banfield
c4628f6b36
lint ++
2021-09-23 12:42:52 -04:00
William Banfield
81c5b43e3b
no lint add space
2021-09-23 12:24:48 -04:00
William Banfield
db12fbc74e
remove unlock checks
2021-09-23 12:22:35 -04:00
William Banfield
a0e9267a78
remove all event unlock
2021-09-23 12:15:32 -04:00
William Banfield
0f25a4f131
add ensureRelock to common_test
2021-09-23 12:06:10 -04:00
William Banfield
cb6c884ac4
add relock test
2021-09-23 12:01:29 -04:00
William Banfield
7f889fceba
update test comments to include new
2021-09-23 12:00:16 -04:00
William Banfield
3585e3a125
remove all references to unlock
2021-09-23 11:24:58 -04:00
William Banfield
4a2cf84608
con state name update
2021-09-23 10:59:50 -04:00
William Banfield
962ceefa59
do not relock on old proposal test cleanup
2021-09-23 10:35:23 -04:00
William Banfield
f559eceaff
udpate no relock function to be cleaner
2021-09-23 10:29:59 -04:00
William Banfield
00b758bf25
rename slashing
2021-09-23 10:23:48 -04:00
William Banfield
e47ef0ff47
add _ into test names
2021-09-23 10:21:40 -04:00
William Banfield
b7d4381fd8
update relock test to be more clear
2021-09-23 10:19:35 -04:00
William Banfield
2bb9ca26c4
update TestStatePOL comment
2021-09-22 13:47:43 -04:00
William Banfield
bf90e1c6e2
remove erroneous sleep
2021-09-22 13:35:30 -04:00
William Banfield
6bc596f5d0
fix TestStateProposerSelection2 to precommit for nil correctly
2021-09-22 12:12:39 -04:00
William Banfield
cffe1fe730
begin removing unlock condition
2021-09-22 10:31:31 -04:00
William Banfield
0a2098e44b
add testing.T to new assertions
2021-09-22 10:20:58 -04:00
William Banfield
3f854d8b25
Merge branch 'wb/proposer-based-timestamps' into wb/issue-6849
2021-09-22 10:16:55 -04:00
William Banfield
dc12a19ba8
rename IsZero to IsNil and replace uses of block len check with helper
2021-09-22 09:52:59 -04:00
William Banfield
87f4beb374
consensus: remove panics from test helper functions ( #6969 )
2021-09-22 08:56:42 -04:00
William Banfield
51db3f86c5
add ensure new timeout back
2021-09-21 11:51:43 -04:00
William Banfield
c69f933d61
update precommit on relock comment
2021-09-21 11:43:33 -04:00
William Banfield
afff87f4ec
update unlock description
2021-09-21 11:41:41 -04:00
William Banfield
f94528bfd0
nil check in addVote
2021-09-21 11:38:30 -04:00
William Banfield
41c3240b3d
comment cleanup
2021-09-21 11:36:56 -04:00
William Banfield
c741c1cd81
spacing nit
2021-09-21 11:34:03 -04:00
William Banfield
9cfa6045ad
Update internal/consensus/state.go
2021-09-20 18:44:06 -04:00
William Banfield
3b0ecf7246
update comments
2021-09-20 17:37:31 -04:00
William Banfield
914a85e53b
further unlock testing
2021-09-20 17:29:57 -04:00
William Banfield
8bfedb6ff0
comment updates
2021-09-20 17:14:36 -04:00
William Banfield
abc07b4f6a
update test for completed POL update
2021-09-20 17:09:00 -04:00
William Banfield
ec740a8750
fixing TestProposeValidBlock test
2021-09-20 14:48:16 -04:00
William Banfield
108eecf12a
undo reset on prevotes
2021-09-17 15:38:18 -04:00
William Banfield
79469af2e6
comment out broken function
2021-09-16 19:56:08 -04:00
William Banfield
72b8deb6cb
initial attempt at removing prevote locked block logic
2021-09-16 19:50:04 -04:00
William Banfield
fe84c0c256
failing test comment
2021-09-16 17:36:58 -04:00
William Banfield
883bec8752
tweak comments in failing test
2021-09-16 17:34:11 -04:00
William Banfield
6e826f8870
add failing test
2021-09-16 17:04:22 -04:00
Sam Kleinman
b0423e2445
e2e: allow load generator to succed for short tests ( #6952 )
...
This should address last night's failure. We've taken the perspective
of "the load generator shouldn't cause tests to fail" in recent
days/weeks, and I think this is just a next step along that line. The
e2e tests shouldn't test performance.
I included some comments indicating the ways that this isn't ideal (it
is perhaps not), and I think that if test networks could make
assertions about the required rate, that might be a cool future
improvement (and good, perhaps, for system benchmarking.)
2021-09-16 15:45:51 +00:00