From 1fc382ce2d1d33ccdf41d32e4488bfcbbe5340ee Mon Sep 17 00:00:00 2001 From: Rune Nielsen Date: Sun, 16 Jan 2022 20:39:25 +0100 Subject: [PATCH] adds comment about update mask being not null on specific case (#56) --- test/MsSqlCdc.Tests/CdcTests.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/MsSqlCdc.Tests/CdcTests.cs b/test/MsSqlCdc.Tests/CdcTests.cs index f51a6dd..3e828f5 100644 --- a/test/MsSqlCdc.Tests/CdcTests.cs +++ b/test/MsSqlCdc.Tests/CdcTests.cs @@ -252,7 +252,9 @@ public async Task Get_net_changes_all_with_mask() { netChange.CaptureInstance.Should().Be(captureInstance); netChange.StartLineSequenceNumber.Should().BeGreaterThan(default(BigInteger)); - netChange.UpdateMask.Should().BeNull(); // TODO take a look at this + // UpdateMask will be non empty + // if table cleaned after insert and the row is updated again thereafter. + netChange.UpdateMask.Should().BeNull(); netChange.Operation.Should().Be(NetChangeOperation.Insert); netChange.Fields["first_name"].Should().Be("Rune"); netChange.Fields["last_name"].Should().Be("Jensen");