Skip to content

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

Merged
potatoqualitee merged 2 commits intodevelopmentfrom
fix_lsn_test
Mar 5, 2026
Merged

Test-DbaLsnChain: Fix bug when reading history from file#10201
potatoqualitee merged 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.

@potatoqualitee
Copy link
Member

will do thank you!

@potatoqualitee potatoqualitee merged commit 91972b4 into development Mar 5, 2026
14 checks passed
@potatoqualitee potatoqualitee deleted the fix_lsn_test branch March 5, 2026 16:55
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.

2 participants