From 32c4d3ccee6133378e0dc0a42c35cb3dbb31dfef Mon Sep 17 00:00:00 2001 From: Martin Klepsch Date: Tue, 20 Mar 2018 12:46:35 +0100 Subject: [PATCH] disable contract deploy test since it requires gas --- test/clj/commiteth/test/multisig_wallet.clj | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/test/clj/commiteth/test/multisig_wallet.clj b/test/clj/commiteth/test/multisig_wallet.clj index 2858006..f1a80ba 100644 --- a/test/clj/commiteth/test/multisig_wallet.clj +++ b/test/clj/commiteth/test/multisig_wallet.clj @@ -17,12 +17,14 @@ (if (< (System/currentTimeMillis) end-time) (recur))))))) -;; deploys a multisig and gets it's address. assumes test environment configured correctly (access to running geth, eth wallet, password etc) +;; deploys a multisig and gets it's address +;; assumes test environment configured correctly +;; (eth wallet with some eth, password etc) (deftest test-deploy (testing "Deploying a multisig" - (let [tx-id (multisig/deploy-multisig OWNER_ADDRESS) - tx-receipt (wait-for (fn [] (eth/get-transaction-receipt tx-id))) - addr (-> tx-receipt - (multisig/find-created-multisig-address))] - (println "Created multisig address" addr) - (is (not-empty addr))))) + (println "WARN multisig deployment test currently disabled as it requires gas") + #_(let [tx-id (multisig/deploy-multisig OWNER_ADDRESS) + tx-receipt (wait-for (fn [] (eth/get-transaction-receipt tx-id))) + addr (multisig/find-created-multisig-address tx-receipt)] + (println "Created multisig address" addr) + (is (not-empty addr)))))