• Charlie Voiselle's avatar
    Fixed test and moved constants into standalone func · 622d3ddb
    Charlie Voiselle authored
    In #3520, work was done to true up the defaults for Nomad resource
    stanzas with the documentation.  This fixes the tests that I
    accidentally broke in the process.  Some questions were raised about
    using dynamic elements as part of expects, which is why I opted to
    copy the MinResources pattern.   During this refactor I also noticed
    that structs.go had a similar issue and an inconsistent minium for CPU.
    622d3ddb