Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
4ea42025
Unverified
Commit
4ea42025
authored
Apr 05, 2023
by
OptimismBot
Committed by
GitHub
Apr 05, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5334 from ethereum-optimism/jg/ci
ci: Update op-e2e
parents
18747f11
fcd6c7f3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
+13
-5
config.yml
.circleci/config.yml
+4
-3
l2_batcher_test.go
op-e2e/actions/l2_batcher_test.go
+2
-2
migration_test.go
op-e2e/migration_test.go
+1
-0
op_geth_test.go
op-e2e/op_geth_test.go
+4
-0
system_tob_test.go
op-e2e/system_tob_test.go
+2
-0
No files found.
.circleci/config.yml
View file @
4ea42025
...
...
@@ -620,7 +620,7 @@ jobs:
name
:
run tests
command
:
|
gotestsum --format=standard-verbose --junitfile=/tmp/test-results/<<parameters.module>>.xml \
-- -coverpkg=github.com/ethereum-optimism/optimism/... -coverprofile=coverage.out ./...
-- -
parallel=8 -
coverpkg=github.com/ethereum-optimism/optimism/... -coverprofile=coverage.out ./...
working_directory
:
<<parameters.module>>
-
run
:
name
:
upload coverage
...
...
@@ -651,9 +651,10 @@ jobs:
command
:
|
# Note: We don't use circle CI test splits because we need to split by test name, not by package. There is an additional
# constraint that gotestsum does not currently (nor likely will) accept files from different pacakges when building.
OP_TESTLOG_DISABLE_COLOR=true OP_E2E_DISABLE_PARALLEL=true OP_E2E_USE_HTTP=<<parameters.use_http>> gotestsum \
# Note: -parallel must be set to match the number of cores in the resource class
OP_TESTLOG_DISABLE_COLOR=true OP_E2E_DISABLE_PARALLEL=false OP_E2E_USE_HTTP=<<parameters.use_http>> gotestsum \
--format=standard-verbose --junitfile=/tmp/test-results/<<parameters.module>>_http_<<parameters.use_http>>.xml \
-- -timeout=20m ./...
-- -timeout=20m
-parallel=8
./...
working_directory
:
<<parameters.module>>
-
store_test_results
:
path
:
/tmp/test-results
...
...
op-e2e/actions/l2_batcher_test.go
View file @
4ea42025
...
...
@@ -384,7 +384,7 @@ func TestExtendedTimeWithoutL1Batches(gt *testing.T) {
}
// TestBigL2Txs tests a high-throughput case with constrained batcher:
// - Fill
10
0 L2 blocks to near max-capacity, with txs of 120 KB each
// - Fill
4
0 L2 blocks to near max-capacity, with txs of 120 KB each
// - Buffer the L2 blocks into channels together as much as possible, submit data-txs only when necessary
// (just before crossing the max RLP channel size)
// - Limit the data-tx size to 40 KB, to force data to be split across multiple datat-txs
...
...
@@ -428,7 +428,7 @@ func TestBigL2Txs(gt *testing.T) {
}
// build many L2 blocks filled to the brim with large txs of random data
for
i
:=
0
;
i
<
10
0
;
i
++
{
for
i
:=
0
;
i
<
4
0
;
i
++
{
aliceNonce
,
err
:=
cl
.
PendingNonceAt
(
t
.
Ctx
(),
dp
.
Addresses
.
Alice
)
status
:=
sequencer
.
SyncStatus
()
// build empty L1 blocks as necessary, so the L2 sequencer can continue to include txs while not drifting too far out
...
...
op-e2e/migration_test.go
View file @
4ea42025
...
...
@@ -121,6 +121,7 @@ var hardcodedSlots = []storageSlot{
}
func
TestMigration
(
t
*
testing
.
T
)
{
parallel
(
t
)
if
!
config
.
enabled
{
t
.
Skipf
(
"skipping migration tests"
)
return
...
...
op-e2e/op_geth_test.go
View file @
4ea42025
...
...
@@ -20,6 +20,7 @@ import (
// TestMissingGasLimit tests that op-geth cannot build a block without gas limit while optimism is active in the chain config.
func
TestMissingGasLimit
(
t
*
testing
.
T
)
{
parallel
(
t
)
cfg
:=
DefaultSystemConfig
(
t
)
cfg
.
DeployConfig
.
FundDevAccounts
=
false
ctx
,
cancel
:=
context
.
WithTimeout
(
context
.
Background
(),
60
*
time
.
Second
)
...
...
@@ -42,6 +43,7 @@ func TestMissingGasLimit(t *testing.T) {
// TestInvalidDepositInFCU runs an invalid deposit through a FCU/GetPayload/NewPayload/FCU set of calls.
// This tests that deposits must always allow the block to be built even if they are invalid.
func
TestInvalidDepositInFCU
(
t
*
testing
.
T
)
{
parallel
(
t
)
cfg
:=
DefaultSystemConfig
(
t
)
cfg
.
DeployConfig
.
FundDevAccounts
=
false
ctx
,
cancel
:=
context
.
WithTimeout
(
context
.
Background
(),
60
*
time
.
Second
)
...
...
@@ -76,6 +78,7 @@ func TestInvalidDepositInFCU(t *testing.T) {
}
func
TestPreregolith
(
t
*
testing
.
T
)
{
parallel
(
t
)
futureTimestamp
:=
hexutil
.
Uint64
(
4
)
tests
:=
[]
struct
{
name
string
...
...
@@ -255,6 +258,7 @@ func TestPreregolith(t *testing.T) {
}
func
TestRegolith
(
t
*
testing
.
T
)
{
parallel
(
t
)
tests
:=
[]
struct
{
name
string
regolithTime
hexutil
.
Uint64
...
...
op-e2e/system_tob_test.go
View file @
4ea42025
...
...
@@ -425,6 +425,8 @@ func TestMixedWithdrawalValidity(t *testing.T) {
for
i
:=
0
;
i
<=
8
;
i
++
{
i
:=
i
// avoid loop var capture
t
.
Run
(
fmt
.
Sprintf
(
"withdrawal test#%d"
,
i
+
1
),
func
(
t
*
testing
.
T
)
{
parallel
(
t
)
// Create our system configuration, funding all accounts we created for L1/L2, and start it
cfg
:=
DefaultSystemConfig
(
t
)
cfg
.
DeployConfig
.
FinalizationPeriodSeconds
=
6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment