Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
lance6716 authored and ti-chi-bot committed May 10, 2021
1 parent 04ca935 commit 7f028bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (t *testForEtcd) TestTryUpgrade(c *C) {
c.Assert(err, IsNil)
c.Assert(rev2, Greater, rev1)
c.Assert(ver, DeepEquals, CurrentVersion)
c.Assert(mockVerNo, Equals, uint64(4))
c.Assert(mockVerNo, Equals, uint64(5))

// try to upgrade again, do nothing because the version is the same.
mockVerNo = 0
Expand Down

0 comments on commit 7f028bf

Please sign in to comment.