2022-01-31 16:20:22 +01:00

28 lines
603 B
Go

// Copyright (c) 2021 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License-AGPL.txt in the project root for license information.
package server
import (
"context"
"os"
"testing"
"github.com/gitpod-io/gitpod/test/pkg/integration"
"sigs.k8s.io/e2e-framework/pkg/env"
)
var (
testEnv env.Environment
username string
namespace string
enterprise bool
kubeconfig string
)
func TestMain(m *testing.M) {
username, namespace, testEnv, enterprise, kubeconfig, _ = integration.Setup(context.Background())
os.Exit(testEnv.Run(m))
}