Skip to content

Commit

Permalink
bump ginkgo to v2.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
yharish991 committed Jul 31, 2024
1 parent cc7cc9d commit f4b81b1
Show file tree
Hide file tree
Showing 249 changed files with 952 additions and 576 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Test
run: |
go install github.com/onsi/ginkgo/ginkgo
go install github.com/onsi/ginkgo/v2
ginkgo -r -race -succinct -randomizeAllSpecs -randomizeSuites -keepGoing \
-skipPackage acceptance,vmlifecyclecommands,vmmanagers \
-covermode=atomic -coverprofile=coverage.out .
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ docker run \
-v $(pwd):/workspace \
-w /workspace internalpcfplatformautomation/ci:testing \
/bin/bash \
-c "go install github.com/onsi/ginkgo/ginkgo && CGO_ENABLED=1 ginkgo -r -race -succinct -randomizeAllSpecs -randomizeSuites -keepGoing -skipPackage acceptance,vmlifecyclecommands,vmmanagers"
-c "go install github.com/onsi/ginkgo/v2 && CGO_ENABLED=1 ginkgo -r -race -succinct -randomizeAllSpecs -randomizeSuites -keepGoing -skipPackage acceptance,vmlifecyclecommands,vmmanagers"
```

This follows the setup that we use in our CI pipeline.
Expand Down
5 changes: 3 additions & 2 deletions acceptance/activate_certificate_authority_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
2 changes: 1 addition & 1 deletion acceptance/apply_changes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/assign_multi_stemcell_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"
"time"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/assign_stemcell_test.go
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"
"time"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/available_products_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/certificate_authorities_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/certificate_authority_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
3 changes: 1 addition & 2 deletions acceptance/config_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (

"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/extensions/table"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/configure_authentication_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/configure_director_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"io/ioutil"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
Expand Down
2 changes: 1 addition & 1 deletion acceptance/configure_ldap_authentication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/configure_product_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package acceptance

import (
"fmt"
"github.com/onsi/gomega/ghttp"
"io/ioutil"
"net/http"
"os"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
Expand Down
5 changes: 3 additions & 2 deletions acceptance/configure_saml_authentication_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/create_certificate_authority_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/create_vm_extension_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/credential_references_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/credentials_test.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/curl_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/delete_certificate_authority_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/delete_installation_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

"github.com/onsi/gomega/ghttp"

"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"

. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)

Expand Down
5 changes: 3 additions & 2 deletions acceptance/delete_product_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/delete_unused_products_test.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gbytes"
"github.com/onsi/gomega/gexec"
Expand Down
5 changes: 3 additions & 2 deletions acceptance/deployed_manifest_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
5 changes: 3 additions & 2 deletions acceptance/deployed_products_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
package acceptance

import (
"github.com/onsi/gomega/ghttp"
"net/http"
"os/exec"

. "github.com/onsi/ginkgo"
"github.com/onsi/gomega/ghttp"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
)
Expand Down
Loading

0 comments on commit f4b81b1

Please sign in to comment.