Skip to content

Commit 1611f55

Browse files
address build version issue and enhance logging (#5268)
* make timeout larger as we are seeing timeouts in CI * mitigate build version issue, enhance logging
1 parent 5f875da commit 1611f55

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
<!-- Version properties -->
6767
<PropertyGroup>
6868
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
69+
<BuildNumberMajor Condition="'$(BuildNumberMajor)' == ''">00001</BuildNumberMajor>
70+
<BuildNumberMinor Condition="'$(BuildNumberMinor)' == ''">0</BuildNumberMinor>
6971
<AssemblyFileVersion Condition="'$(AssemblyFileVersion)'==''">$(MajorVersion).$(MinorVersion).$(BuildNumberMajor).$(BuildNumberMinor)</AssemblyFileVersion>
7072

7173
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>

src/Microsoft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ private IEnumerable<int> ParseParallel(ParallelState state)
826826
foreach (var batch in state.GetBatches())
827827
{
828828
// If the collation of rows happened correctly, this should have a precise value.
829-
Contracts.Assert(batch.Total == _total + 1);
829+
Contracts.Assert(batch.Total == _total + 1, $"batch.Total:{batch.Total} while _total + 1:{_total + 1}.");
830830
_total = batch.Total - 1;
831831
for (int irow = batch.IrowMin; irow < batch.IrowLim; irow++)
832832
{

0 commit comments

Comments
 (0)