diff --git a/src/GWallet.Backend.Tests.End2End/LN.fs b/src/GWallet.Backend.Tests.End2End/LN.fs index c5c9d9739..6a4e15f82 100644 --- a/src/GWallet.Backend.Tests.End2End/LN.fs +++ b/src/GWallet.Backend.Tests.End2End/LN.fs @@ -371,9 +371,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -402,9 +402,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Monohop-sending inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: monohop-sending inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -433,9 +433,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -444,9 +444,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -497,9 +497,9 @@ type LN() = OpenChannelWithFundee None with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -552,9 +552,9 @@ type LN() = AcceptChannelFromLndFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -616,9 +616,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel local-force-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel local-force-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -627,9 +627,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel local-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: channel local-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -691,9 +691,9 @@ type LN() = AcceptChannelFromGeewalletFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel local-force-closing inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: channel local-force-closing inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -702,9 +702,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -720,9 +720,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -731,9 +731,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -805,9 +805,9 @@ type LN() = AcceptChannelFromGeewalletFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -816,9 +816,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -859,9 +859,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -870,9 +870,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -937,9 +937,9 @@ type LN() = AcceptChannelFromGeewalletFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -948,9 +948,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because receiving of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1262,9 +1262,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "CPFP inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: CPFP inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1273,9 +1273,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "CPFP inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: CPFP inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1308,9 +1308,9 @@ type LN() = AcceptChannelFromGeewalletFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: channel remote-force-closing inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1319,9 +1319,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "CPFP inconclusive because receiving of monohop payments failed, fix this first: %s" + "Inconclusive: CPFP inconclusive because receiving of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1405,9 +1405,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "UpdateFee message support inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: UpdateFee message support inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1417,9 +1417,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "UpdateFee message support inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: UpdateFee message support inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1437,9 +1437,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId currentBalance with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Sending of monohop payments failed after UpdateFee message handling: %s" + "Inconclusive: sending of monohop payments failed after UpdateFee message handling: %s" (ex.ToString()) ) failwith "unreachable" @@ -1457,9 +1457,9 @@ type LN() = AcceptChannelFromGeewalletFunder () with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "UpdateFee message support inconclusive because Channel accept failed, fix this first: %s" + "Inconclusive: UpdateFee message support inconclusive because Channel accept failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1470,9 +1470,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "UpdateFee message support inconclusive because receiving of monohop payments failed, fix this first: %s" + "Inconclusive: UpdateFee message support inconclusive because receiving of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1486,9 +1486,9 @@ type LN() = do! ReceiveMonoHopPayments serverWallet channelId with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Receiving of monohop payments failed after UpdateFee message handling: %s" + "Inconclusive: receiving of monohop payments failed after UpdateFee message handling: %s" (ex.ToString()) ) failwith "unreachable" @@ -1509,9 +1509,9 @@ type LN() = OpenChannelWithFundee (Some Config.FundeeNodeEndpoint) with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because Channel open failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because Channel open failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1520,9 +1520,9 @@ type LN() = do! SendMonoHopPayments clientWallet channelId fundingAmount with | ex -> - Assert.Inconclusive ( + Assert.Fail ( sprintf - "Channel-closing inconclusive because sending of monohop payments failed, fix this first: %s" + "Inconclusive: channel-closing inconclusive because sending of monohop payments failed, fix this first: %s" (ex.ToString()) ) failwith "unreachable" @@ -1564,7 +1564,7 @@ type LN() = return Ok (closingTx, mutualCpfp) | _ -> return Error "CPFP tx creation failed" | Tx (Full, _) -> - Assert.Inconclusive "Closing tx got confirmed before we get a chance to create CPFP tx" + Assert.Fail "Inconclusive: Closing tx got confirmed before we get a chance to create CPFP tx" return Error "Closing tx got confirmed before we get a chance to create CPFP tx" | _ -> do! Async.Sleep 1000 diff --git a/src/GWallet.Backend.Tests.Unit/ExceptionMarshalling.fs b/src/GWallet.Backend.Tests.Unit/ExceptionMarshalling.fs index 3665d17ac..03d0ae8d7 100644 --- a/src/GWallet.Backend.Tests.Unit/ExceptionMarshalling.fs +++ b/src/GWallet.Backend.Tests.Unit/ExceptionMarshalling.fs @@ -83,7 +83,7 @@ type ExceptionMarshalling () = SerializeBasicException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize basicExSerialized @@ -107,7 +107,7 @@ type ExceptionMarshalling () = SerializeRealException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: Fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize realExceptionSerialized @@ -132,7 +132,7 @@ type ExceptionMarshalling () = SerializeInnerException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: Fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize innerExceptionSerialized @@ -168,7 +168,7 @@ type ExceptionMarshalling () = SerializeCustomException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: Fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize customExceptionSerialized @@ -192,7 +192,7 @@ type ExceptionMarshalling () = SerializeCustomFSharpException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: Fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize customExceptionSerialized @@ -221,7 +221,7 @@ type ExceptionMarshalling () = SerializeFullException () with | _ -> - Assert.Inconclusive "Fix the serialization test first" + Assert.Fail "Inconclusive: Fix the serialization test first" failwith "unreachable" let ex: Exception = Marshalling.Deserialize fullExceptionSerialized