Skip to content

Commit

Permalink
Revert "WIP: Add integration test for GraphQL API"
Browse files Browse the repository at this point in the history
This reverts commit 24fe483.
  • Loading branch information
varungandhi-src committed May 21, 2024
1 parent 979bc4f commit 77e3853
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 215 deletions.
1 change: 0 additions & 1 deletion dev/gqltest/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ go_test(
"access_token_test.go",
"bitbucket_projects_perms_sync_test.go",
"code_insights_test.go",
"code_intel_test.go",
"compute_test.go",
"external_service_test.go",
"feature_flag_test.go",
Expand Down
67 changes: 0 additions & 67 deletions dev/gqltest/code_intel_test.go

This file was deleted.

1 change: 1 addition & 0 deletions dev/gqltest/site_config_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package main

import (
"github.com/stretchr/testify/require"
"strings"
"testing"
"time"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
uploadsgraphql "github.com/sourcegraph/sourcegraph/internal/codeintel/uploads/transport/graphql"
"github.com/sourcegraph/sourcegraph/internal/observation"
"github.com/sourcegraph/sourcegraph/lib/codeintel/autoindex/config"
"github.com/sourcegraph/sourcegraph/lib/errors"
"github.com/sourcegraph/sourcegraph/lib/pointers"
)

Expand Down Expand Up @@ -84,7 +83,7 @@ func (r *rootResolver) QueueAutoIndexJobsForRepo(ctx context.Context, args *reso

repositoryID, err := resolverstubs.UnmarshalID[api.RepoID](args.Repository)
if err != nil {
return nil, errors.Wrap(err, "malformed repository ID")
return nil, err
}

rev := "HEAD"
Expand Down
2 changes: 0 additions & 2 deletions internal/gqltestutil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ go_library(
"batch_specs.go",
"client.go",
"code_insights.go",
"code_intel.go",
"compute.go",
"external_service.go",
"git.go",
Expand Down Expand Up @@ -36,6 +35,5 @@ go_library(
"//schema",
"@com_github_graph_gophers_graphql_go//:graphql-go",
"@com_github_json_iterator_go//:go",
"@com_github_sourcegraph_conc//pool",
],
)
143 changes: 0 additions & 143 deletions internal/gqltestutil/code_intel.go

This file was deleted.

0 comments on commit 77e3853

Please sign in to comment.