Skip to content

Commit

Permalink
Fix failing pubnet conversion test (#226)
Browse files Browse the repository at this point in the history
The "Public network conversion looks reasonable" test expects the
Stellar expert validators to belong to a coreset called `expert`.
However, #220 changed some of the coreset name mangling logic, so the
expected name is now `expert-non-tier1`. This PR fixes the test to check
for the correct name.
  • Loading branch information
bboston7 authored Nov 22, 2024
1 parent 3b49119 commit 53a6f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FSLibrary.Tests/Tests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ type Tests(output: ITestOutputHelper) =
Assert.Contains(coreSets, (fun cs -> cs.name = sdfCoreSetName))
// Ensure that 'validator.stellar.expert' got a different name from
// 'www.stellar.org'.
Assert.Contains(coreSets, (fun cs -> cs.name = (CoreSetName "expert")))
Assert.Contains(coreSets, (fun cs -> cs.name = (CoreSetName "expert-non-tier1")))
let sdfCoreSet = List.find (fun cs -> cs.name = sdfCoreSetName) coreSets
Assert.Equal(3, sdfCoreSet.options.nodeCount)
let cfg = nCfg.StellarCoreCfg(sdfCoreSet, 0, MainCoreContainer)
Expand Down

0 comments on commit 53a6f44

Please sign in to comment.