Skip to content

Commit

Permalink
Change some log.info -> log.debug
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Sep 12, 2015
1 parent d3f8025 commit 81864f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81864f2

Please sign in to comment.