diff --git a/compiler/damlc/tests/BUILD.bazel b/compiler/damlc/tests/BUILD.bazel index a7cca6ff945..35d39a3030f 100644 --- a/compiler/damlc/tests/BUILD.bazel +++ b/compiler/damlc/tests/BUILD.bazel @@ -609,7 +609,7 @@ da_haskell_test( ":repl-test.dar", "//compiler/damlc", "//daml-script/daml:daml-script.dar", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", "//ledger/test-common/test-certificates", ], hackage_deps = [ @@ -652,7 +652,7 @@ da_haskell_test( "//compiler/damlc/stable-packages", "//compiler/repl-service/server:repl_service_jar", "//daml-script/daml:daml-script.dar", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], hackage_deps = [ "async", @@ -912,7 +912,7 @@ da_haskell_test( data = [ ":pkg-manager-test.dar", "//compiler/damlc", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], hackage_deps = [ "base", diff --git a/daml-assistant/daml-helper/BUILD.bazel b/daml-assistant/daml-helper/BUILD.bazel index dd4d2d642e3..b77f8173948 100644 --- a/daml-assistant/daml-helper/BUILD.bazel +++ b/daml-assistant/daml-helper/BUILD.bazel @@ -94,7 +94,7 @@ da_haskell_test( srcs = ["test/DA/Daml/Helper/Test/Tls.hs"], data = [ "daml-helper", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", "//ledger/test-common/test-certificates", ], hackage_deps = [ @@ -120,7 +120,7 @@ da_haskell_test( data = [ "//compiler/damlc", "//daml-assistant/daml-helper", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], # TODO (MK) https://github.com/digital-asset/daml/issues/9768 flaky = True, @@ -162,7 +162,7 @@ da_haskell_test( "daml-helper", ":test.dar", "//ledger-service/http-json:http-json-binary", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], hackage_deps = [ "base", @@ -196,7 +196,7 @@ da_haskell_test( "daml-helper", ":test.dar", "//ledger-service/http-json:http-json-binary", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], hackage_deps = [ "base", diff --git a/language-support/hs/bindings/BUILD.bazel b/language-support/hs/bindings/BUILD.bazel index 553047d01f3..a421e9573c7 100644 --- a/language-support/hs/bindings/BUILD.bazel +++ b/language-support/hs/bindings/BUILD.bazel @@ -51,7 +51,7 @@ da_haskell_test( data = [ ":for-tests.dar", ":for-upload.dar", - "//ledger/sandbox:sandbox-binary", + "//ledger/sandbox-classic:sandbox-classic-binary", ], # The tests throw flaky timeout errors. It looks like this comes # from a fundamental issue in the Haskell bindings: they eagerly pull diff --git a/language-support/hs/bindings/test/DA/Ledger/Tests.hs b/language-support/hs/bindings/test/DA/Ledger/Tests.hs index 68140df185b..9383ac95519 100644 --- a/language-support/hs/bindings/test/DA/Ledger/Tests.hs +++ b/language-support/hs/bindings/test/DA/Ledger/Tests.hs @@ -327,7 +327,7 @@ tGetLedgerConfiguration withSandbox = testCase "tGetLedgerConfiguration" $ run w xs <- getLedgerConfiguration lid Just (Right config) <- liftIO $ timeout 1 (takeStream xs) let expected = LedgerConfiguration { - maxDeduplicationTime = Duration {durationSeconds = 86400, durationNanos = 0}} + maxDeduplicationTime = Duration {durationSeconds = 1800, durationNanos = 0}} liftIO $ assertEqual "config" expected config tUploadDarFileBad :: SandboxTest diff --git a/libs-haskell/test-utils/DA/Test/Sandbox.hs b/libs-haskell/test-utils/DA/Test/Sandbox.hs index 22e362d5bc0..535bad55f3e 100644 --- a/libs-haskell/test-utils/DA/Test/Sandbox.hs +++ b/libs-haskell/test-utils/DA/Test/Sandbox.hs @@ -57,7 +57,7 @@ defaultSandboxConf = SandboxConfig getSandboxProc :: SandboxConfig -> FilePath -> IO CreateProcess getSandboxProc SandboxConfig{..} portFile = do - sandbox <- locateRunfiles (mainWorkspace "ledger" "sandbox" exe "sandbox-binary") + sandbox <- locateRunfiles (mainWorkspace "ledger" "sandbox-classic" exe "sandbox-classic-binary") tlsArgs <- if enableTls then do certDir <- locateRunfiles (mainWorkspace "ledger" "test-common" "test-certificates")