Update IT test.
@@ -25,6 +25,7 @@ import (
"net/http"
"strconv"
"strings"
+ "time"
)
var _ = Describe("MicroService Api Test", func() {
@@ -307,6 +308,7 @@ var _ = Describe("MicroService Api Test", func() {
Expect(resp.StatusCode).To(Equal(http.StatusOK))
//Get Rules
+ <-time.After(time.Second)
url = strings.Replace(GETRULES, ":serviceId", serviceId, 1)
req, _ = http.NewRequest(GET, SCURL+url, nil)
req.Header.Set("X-tenant-name", "default")
