Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 2, 2021
1 parent b46d470 commit 52bc53b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/test/e2enew/migrate/migrate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"bytes"
"encoding/binary"
"encoding/json"
"fmt"
"hash/crc32"
"net/http"

Expand Down Expand Up @@ -76,6 +77,9 @@ var _ = ginkgo.Describe("Migrate", func() {
resp.Status(http.StatusOK)
rsp := &response{}
err := json.Unmarshal([]byte(resp.Body().Raw()), rsp)

fmt.Println("RSP", rsp);

gomega.Expect(err).Should(gomega.BeNil())
gomega.Expect(rsp.Code).Should(gomega.Equal(20001))
gomega.Expect(len(rsp.Data.ConflictItems.Routes)).Should(gomega.Equal(1))
Expand Down

0 comments on commit 52bc53b

Please sign in to comment.