• Martin Atkins's avatar
    command: Fix TestMetaBackend_configureNewWithState · aacbe1d1
    Martin Atkins authored
    This test was initially failing because its fixture had a state which our
    new state models consider to be "empty", and thus it was not migrated.
    
    After fixing that (by adding an output to the fixture), this revealed a
    bug that the lineage was not being persisted through the migration. This
    is fixed by using the statemgr.Migrate method instead of writing via the
    normal Writer interface, which allows two cooperating state managers to
    properly transfer the lineage and serial along with the state snapshot.
    aacbe1d1