Skip to content

Commit

Permalink
chore: restore original testnet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
euonymos committed Nov 25, 2024
1 parent f70472e commit 1ea10e1
Showing 1 changed file with 21 additions and 26 deletions.
47 changes: 21 additions & 26 deletions test/Testnet.purs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import Mote.Monad (mapTest)
import Mote.TestPlanM as Utils
import Test.Ctl.BalanceTx.ChangeGeneration as ChangeGeneration
import Test.Ctl.QueryM.AffInterface as QueryM.AffInterface
import Test.Ctl.Testnet.BetRef.Test as BetRef
import Test.Ctl.Testnet.Contract as Contract
import Test.Ctl.Testnet.Contract.Assert as Assert
import Test.Ctl.Testnet.Contract.Mnemonics as Mnemonics
Expand All @@ -44,31 +43,27 @@ main = interruptOnSignal SIGINT =<< launchAff do
let config = defaultTestnetConfig { suppressLogs = false }
flip cancelWith (effectCanceler (exitCode 1)) do
Utils.interpretWithConfig
defaultConfig { timeout = Just $ Milliseconds 600_000.0, exit = true }
$group "bet-ref example" do
testTestnetContracts config BetRef.placeBetSuite
testTestnetContracts config BetRef.takePotSuite
-- $group "bet-ref example - take bet" do
-- $ group "cardano-testnet" do
-- testTestnetContracts config Mnemonics.suite
-- group "ExUnits - normal limits" do
-- testTestnetContracts config $ ExUnits.mkFailingSuite 8000
-- testTestnetContracts config $ ExUnits.mkSuite 2550
-- -- FIXME: group "ExUnits - relaxed limits" do
-- -- testTestnetContracts configWithMaxExUnits $ ExUnits.mkSuite 3000
-- testTestnetContracts config Assert.suite
-- Logging.suite
-- -- FIXME: testStartPlutipCluster
-- testTestnetContracts config $ do
-- flip mapTest QueryM.AffInterface.suite
-- (noWallet <<< wrapQueryM)
-- ChangeGeneration.suite
-- Contract.suite
-- Gov.suite
-- UtxoDistribution.suite
-- testTestnetContracts config OgmiosMempool.suite
-- runTestnetTestPlan config SameWallets.suite
-- -- FIXME: ClusterParameters.runTest
defaultConfig { timeout = Just $ Milliseconds 70_000.0, exit = true }
$ group "cardano-testnet" do
testTestnetContracts config Mnemonics.suite
group "ExUnits - normal limits" do
testTestnetContracts config $ ExUnits.mkFailingSuite 8000
testTestnetContracts config $ ExUnits.mkSuite 2550
-- FIXME: group "ExUnits - relaxed limits" do
-- testTestnetContracts configWithMaxExUnits $ ExUnits.mkSuite 3000
testTestnetContracts config Assert.suite
Logging.suite
-- FIXME: testStartPlutipCluster
testTestnetContracts config $ do
flip mapTest QueryM.AffInterface.suite
(noWallet <<< wrapQueryM)
ChangeGeneration.suite
Contract.suite
Gov.suite
UtxoDistribution.suite
testTestnetContracts config OgmiosMempool.suite
runTestnetTestPlan config SameWallets.suite
-- FIXME: ClusterParameters.runTest

{-
configWithMaxExUnits :: PlutipConfig
Expand Down

0 comments on commit 1ea10e1

Please sign in to comment.