mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
rm: t.parallel from testQueueTimeLimiting tests
This commit is contained in:
parent
c48743ad0f
commit
973f11647a
1 changed files with 5 additions and 5 deletions
|
|
@ -1169,19 +1169,19 @@ func testQueueGlobalLimiting(t *testing.T, nolocals bool) {
|
|||
//
|
||||
// This logic should not hold for local transactions, unless the local tracking
|
||||
// mechanism is disabled.
|
||||
|
||||
// nolint : paralleltest
|
||||
func TestQueueTimeLimiting(t *testing.T) {
|
||||
t.Parallel()
|
||||
testQueueTimeLimiting(t, false)
|
||||
}
|
||||
|
||||
// nolint : paralleltest
|
||||
func TestQueueTimeLimitingNoLocals(t *testing.T) {
|
||||
t.Parallel()
|
||||
testQueueTimeLimiting(t, true)
|
||||
}
|
||||
|
||||
// nolint:gocognit
|
||||
// nolint:gocognit,thelper
|
||||
func testQueueTimeLimiting(t *testing.T, nolocals bool) {
|
||||
t.Helper()
|
||||
|
||||
// Reduce the eviction interval to a testable amount
|
||||
defer func(old time.Duration) { evictionInterval = old }(evictionInterval)
|
||||
evictionInterval = time.Millisecond * 100
|
||||
|
|
|
|||
Loading…
Reference in a new issue