Skip to content

Test-DbaLsnChain: Fix bug when reading history from file#10201

Open
andreasjordan wants to merge 2 commits intodevelopmentfrom
fix_lsn_test
Open

Test-DbaLsnChain: Fix bug when reading history from file#10201
andreasjordan wants to merge 2 commits intodevelopmentfrom
fix_lsn_test

Conversation

@andreasjordan
Copy link
Collaborator

Fixes bug introduced by #10185

Tests use $BackupHistory = Import-Clixml $PSScriptRoot\..\tests\ObjectDefinitions\BackupRestore\RawInput\CleanFormatDbaInformation.xml which returns Deserialized.System.Numerics.BigInteger. So we now use the pattern [BigInt]$xyzLsn.ToString() everywhere.

@andreasjordan
Copy link
Collaborator Author

andreasjordan commented Mar 2, 2026

Now the test passes. This should be merged to development and back into all open pull requests if all tests in development pass as well.

Update: Needs only to be merged into #10199 and #10200.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant