github.com/smartcontractkit/chainlink-terra@v0.1.4/tests/e2e/smoke/ocr2_test.go (about) 1 package smoke_test 2 3 import ( 4 "time" 5 6 . "github.com/onsi/ginkgo/v2" 7 . "github.com/onsi/gomega" 8 tc "github.com/smartcontractkit/chainlink-terra/tests/e2e/smoke/common" 9 "github.com/smartcontractkit/integrations-framework/actions" 10 ) 11 12 var _ = Describe("Terra OCRv2 @ocr2", func() { 13 var state *tc.OCRv2State 14 15 BeforeEach(func() { 16 state = &tc.OCRv2State{} 17 By("Deploying the cluster", func() { 18 state.DeployCluster(5, false) 19 state.SetAllAdapterResponsesToTheSameValue(2) 20 }) 21 }) 22 23 Describe("with Terra OCR2", func() { 24 It("performs OCR2 round", func() { 25 state.ValidateRoundsAfter(time.Now(), 10, false) 26 }) 27 }) 28 29 AfterEach(func() { 30 By("Tearing down the environment", func() { 31 err := actions.TeardownSuite(state.Env, nil, "logs", nil) 32 Expect(err).ShouldNot(HaveOccurred()) 33 }) 34 }) 35 })