Skip to content

Commit

Permalink
increase soak time
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Apr 16, 2022
1 parent 1e0bdfe commit 545e9ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/soak.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: E2E Soak Test
on:
push:
schedule:
- cron: '0 */3 * * *'
workflow_dispatch:
Expand Down Expand Up @@ -110,7 +111,7 @@ jobs:
CHAINLINK_VERSION: custom.${{ github.sha }}
run: |
export PATH=$PATH:$(go env GOPATH)/bin
ginkgo tests/e2e/soak
ginkgo --timeout=12h tests/e2e/soak
- name: Publish Test Results
uses: mikepenz/action-junit-report@v2
if: always()
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ test_smoke:
SELECTED_NETWORKS=solana NETWORK_SETTINGS=$(shell pwd)/tests/e2e/networks.yaml ginkgo tests/e2e/smoke

test_ocr_soak:
SELECTED_NETWORKS=solana NETWORK_SETTINGS=$(shell pwd)/tests/e2e/networks.yaml ginkgo tests/e2e/soak
SELECTED_NETWORKS=solana NETWORK_SETTINGS=$(shell pwd)/tests/e2e/networks.yaml ginkgo --timeout=12h tests/e2e/soak

test_chaos:
SELECTED_NETWORKS=solana NETWORK_SETTINGS=$(shell pwd)/tests/e2e/networks.yaml ginkgo tests/e2e/chaos
4 changes: 2 additions & 2 deletions tests/e2e/soak/ocr2_soak_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ var _ = Describe("Solana OCRv2 soak test @ocr2-soak", func() {
var state = common.NewOCRv2State(30, 5)
BeforeEach(func() {
By("Deploying OCRv2 cluster", func() {
state.DeployCluster(5, false, utils.ContractsDir)
state.DeployCluster(5, true, utils.ContractsDir)
state.SetAllAdapterResponsesToTheSameValue(10)
})
})
Describe("with Solana", func() {
It("performs OCR rounds", func() {
state.ValidateRoundsAfter(time.Now(), common.NewSoakRoundsCheckTimeout, 200)
state.ValidateRoundsAfter(time.Now(), common.NewSoakRoundsCheckTimeout, 2000)
})
})
AfterEach(func() {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/solclient/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func NewChainlinkSolOCRv2(nodes int, stateful bool) *environment.Config {
if stateful {
env.Charts["chainlink"].Values["db"] = map[string]interface{}{
"stateful": true,
"capacity": "2Gi",
"capacity": "4Gi",
}
}
return env
Expand Down

0 comments on commit 545e9ea

Please sign in to comment.