From 81864f2bb0509249e3a7b35e88ebd37968891451 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Fri, 11 Sep 2015 20:22:03 -0700 Subject: [PATCH] Change some log.info -> log.debug --- .../omni/test/rpc/sto/SendToOwnersTestPlanSpec.groovy | 6 +++--- .../main/groovy/foundation/omni/test/OmniTestSupport.groovy | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/sto/SendToOwnersTestPlanSpec.groovy b/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/sto/SendToOwnersTestPlanSpec.groovy index 8072db08..03b8e6a4 100644 --- a/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/sto/SendToOwnersTestPlanSpec.groovy +++ b/omnij-rpc/src/integ/groovy/foundation/omni/test/rpc/sto/SendToOwnersTestPlanSpec.groovy @@ -49,7 +49,7 @@ class SendToOwnersTestPlanSpec extends BaseRegTestSpec { maybeSkipReservedMetaDexTests(sptReserved, sptReservedOwners) OmniValue given: - //log.info "Creating startMSC from: {} + {}", mscAvailable, mscReserved + //log.debug "Creating startMSC from: {} + {}", mscAvailable, mscReserved def startMSC = OmniDivisibleValue.of(mscAvailable + mscReserved) def actorAddress = createFundedAddress(startBTC, startMSC, false) def currencyMSC = new CurrencyID(ecosystem.getValue()) @@ -94,8 +94,8 @@ class SendToOwnersTestPlanSpec extends BaseRegTestSpec { and: "every owner ends up with the expected #currencySPT balance" for (id in ownerIds) { - log.info "about to check owner {}: currency: {}, expectedavail: {}, expectedreserved: {}", id, currencySPT, expectedSPTAvailableOwners[id], expectedSPTReservedOwners[id] - log.info "class is {}", expectedSPTAvailableOwners[id].class + log.debug "about to check owner {}: currency: {}, expectedavail: {}, expectedreserved: {}", id, currencySPT, expectedSPTAvailableOwners[id], expectedSPTReservedOwners[id] + log.debug "class is {}", expectedSPTAvailableOwners[id].class Long expectedLong = expectedSPTAvailableOwners[id] BigDecimal expectedBD = (BigDecimal) expectedLong; assertBalance(owners[id], currencySPT, (BigDecimal) expectedSPTAvailableOwners[id], (BigDecimal) expectedSPTReservedOwners[id]) diff --git a/omnij-rpc/src/main/groovy/foundation/omni/test/OmniTestSupport.groovy b/omnij-rpc/src/main/groovy/foundation/omni/test/OmniTestSupport.groovy index 683e6b3e..f7146a5c 100644 --- a/omnij-rpc/src/main/groovy/foundation/omni/test/OmniTestSupport.groovy +++ b/omnij-rpc/src/main/groovy/foundation/omni/test/OmniTestSupport.groovy @@ -118,7 +118,7 @@ trait OmniTestSupport implements BTCTestSupport, OmniClientDelegate, RawTxDelega if (check && confirmTransactions) { assert getBitcoinBalance(fundedAddress).value >= requestedBTC.value assert omniGetBalance(fundedAddress, CurrencyID.MSC).balance >= requestedMSC.bigDecimalValue() - log.info "balances verified, fundedAddress has {} BTC and {} Omni", requestedBTC.toFriendlyString(), requestedMSC + log.debug "balances verified, fundedAddress has {} and {} Omni", requestedBTC.toFriendlyString(), requestedMSC } return fundedAddress