1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | func (s *ServiceLeaderSuite) TestTxnRevnoChange(c *gc.C) {
defer state.SetBeforeHooks(c, s.State, func() {
s.writeSettings(c, map[string]string{
"other": "values",
"slipped": "in",
"before": "we",
"managed": "to",
})
}).Check()
s.writeSettings(c, map[string]string{
"but": "we",
"overwrite": "those",
"before": "",
})
s.checkSettings(c, map[string]string{
"other": "values",
"slipped": "in",
"but": "we",
"managed": "to",
"overwrite": "those",
})
}
|