Skip to content

Commit

Permalink
Fixes after review
Browse files Browse the repository at this point in the history
Signed-off-by: Josef Kopriva <[email protected]>
  • Loading branch information
jkopriva committed Oct 5, 2023
1 parent 8869b89 commit d4d90e4
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 1,137 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package proxy
package parallel

import (
"context"
Expand All @@ -8,7 +8,7 @@ import (
toolchainv1alpha1 "github.com/codeready-toolchain/api/api/v1alpha1"
commonproxy "github.com/codeready-toolchain/toolchain-common/pkg/proxy"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/appstudio"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/proxy"
"github.com/codeready-toolchain/toolchain-e2e/testsupport/wait"

"github.com/gofrs/uuid"
Expand Down
4 changes: 2 additions & 2 deletions test/e2e/proxy/applications_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"time"

. "github.com/codeready-toolchain/toolchain-e2e/testsupport"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/appstudio"
appstudiov1 "github.com/codeready-toolchain/toolchain-e2e/testsupport/appstudio/api/v1alpha1"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/proxy"
"github.com/codeready-toolchain/toolchain-e2e/testsupport/wait"
"sigs.k8s.io/controller-runtime/pkg/client"

Expand All @@ -35,7 +35,7 @@ import (
// and the same group as the actual one. The CRD is created as part of the test setup
// and since the CRD name & group name matches, then RBAC allow us to execute create/read
// operations on that resource using the user permissions.
func TestProxyApplicationsFlow(t *testing.T) {
func TestProxyFlow(t *testing.T) {
// given
awaitilities := WaitForDeployments(t)
hostAwait := awaitilities.Host()
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/proxy/shared_workspaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ import (
"testing"

. "github.com/codeready-toolchain/toolchain-e2e/testsupport"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/appstudio"
appstudiov1 "github.com/codeready-toolchain/toolchain-e2e/testsupport/appstudio/api/v1alpha1"
. "github.com/codeready-toolchain/toolchain-e2e/testsupport/proxy"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/types"
)

func TestSharedWorkspaces(t *testing.T) {
t.Parallel()
// given
awaitilities := WaitForDeployments(t)
hostAwait := awaitilities.Host()
Expand Down
Loading

0 comments on commit d4d90e4

Please sign in to comment.