Skip to content

Commit 671c1d2

Browse files
committed
update tests
1 parent c780e1f commit 671c1d2

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

tests/e2e/alerts_scheduler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import (
3232
"github.com/coralogix/coralogix-operator/internal/utils"
3333
)
3434

35-
var _ = Describe("AlertScheduler", Ordered, func() {
35+
var _ = PDescribe("AlertScheduler", Ordered, func() {
3636
var (
3737
crClient client.Client
3838
alertSchedulerClient *cxsdk.AlertSchedulerClient

tests/e2e/dashboard_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535
"github.com/coralogix/coralogix-operator/internal/utils"
3636
)
3737

38-
var _ = Describe("Dashboard", Ordered, func() {
38+
var _ = PDescribe("Dashboard", Ordered, func() {
3939
var (
4040
crClient client.Client
4141
dashboardsClient *cxsdk.DashboardsClient

tests/e2e/events2metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"github.com/coralogix/coralogix-operator/internal/utils"
3535
)
3636

37-
var _ = Describe("Events2Metric", Ordered, func() {
37+
var _ = PDescribe("Events2Metric", Ordered, func() {
3838
var (
3939
crClient client.Client
4040
e2mClient *cxsdk.Events2MetricsClient

tests/e2e/ip_access_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,20 @@ var _ = Describe("IPAccess", func() {
9393
}
9494
}, time.Minute, time.Second).Should(Succeed())
9595

96-
By("Fetching IPAccess from Coralogix backend via OpenAPI SDK")
96+
By("Verifying IpAccess exists in Coralogix backend")
9797
Eventually(func(g Gomega) {
9898
getRes, _, err := ipAccessClient.IpAccessServiceGetCompanyIpAccessSettings(ctx).Id(ipAccessID).Execute()
9999
g.Expect(err).ToNot(HaveOccurred())
100100
g.Expect(getRes.Settings).ToNot(BeNil())
101101
g.Expect(getRes.Settings.EnableCoralogixCustomerSupportAccess).ToNot(BeNil())
102102
g.Expect(*getRes.Settings.EnableCoralogixCustomerSupportAccess).To(Equal(ipaccess.CORALOGIXCUSTOMERSUPPORTACCESS_CORALOGIX_CUSTOMER_SUPPORT_ACCESS_DISABLED))
103103

104-
// Ensure entries exist
105104
g.Expect(getRes.Settings.IpAccess).ToNot(BeNil())
106105
found := false
107106
for _, rule := range *getRes.Settings.IpAccess {
108107
if rule.Name != nil && *rule.Name == "VPN" {
109108
found = true
110-
g.Expect(rule.IpRange).To(Equal("198.51.100.0/24"))
109+
g.Expect(*rule.IpRange).To(Equal("198.51.100.0/24"))
111110
}
112111
}
113112
g.Expect(found).To(BeTrue(), "VPN rule should be present in backend")

0 commit comments

Comments
 (0)