Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
  • Loading branch information
hawkingrei committed Mar 25, 2024
1 parent 140f89a commit f0f18aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/session/bootstrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2152,7 +2152,7 @@ func TestWriteDDLTableVersionToMySQLTiDBWhenUpgradingTo178(t *testing.T) {

func TestTiDBUpgradeToVer179(t *testing.T) {
ctx := context.Background()
store, dom := CreateStoreAndBootstrap(t)
store, _ := CreateStoreAndBootstrap(t)
defer func() {
require.NoError(t, store.Close())
}()
Expand All @@ -2171,8 +2171,8 @@ func TestTiDBUpgradeToVer179(t *testing.T) {
ver, err := getBootstrapVersion(seV178)
require.NoError(t, err)
require.Equal(t, int64(ver178), ver)
dom.Close()
dom, err = BootstrapSession(store)

dom, err := BootstrapSession(store)
require.NoError(t, err)
ver, err = getBootstrapVersion(seV178)
require.NoError(t, err)
Expand Down

0 comments on commit f0f18aa

Please sign in to comment.