Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added build tags for each test file #8665

Merged
merged 9 commits into from
Feb 23, 2023
2 changes: 2 additions & 0 deletions chunker/json_parser_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions contrib/integration/testtxn/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/http_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/metrics_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/mutations_mode/mutations_mode_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/reindex_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/run_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/alpha/upsert_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/increment/increment_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/live/load-json/load_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/live/load-uids/load_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/zero/pgp_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package zero

import (
Expand Down
2 changes: 2 additions & 0 deletions dgraph/cmd/zero/zero_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
4 changes: 2 additions & 2 deletions ee/acl/acl_curl_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !oss
// +build !oss
//go:build !oss && integration
// +build !oss,integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
Expand Down
4 changes: 2 additions & 2 deletions ee/acl/acl_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !oss
// +build !oss
//go:build !oss && integration
// +build !oss,integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/admin_auth/poorman_auth/admin_auth_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/auth/add_mutation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/auth/auth_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/auth/debug_off/debugoff_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package debugoff

import (
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/auth/delete_mutation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/auth/update_mutation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/custom_logic/custom_logic_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/directives/dgraph_directives_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/multi_tenancy/multi_tenancy_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/normal/normal_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/schema/schema_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions graphql/e2e/subscription/subscription_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions protos/protos_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions query/common_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/mutation_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2016-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query0_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query1_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query2_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query3_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query4_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/query_facets_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions query/rdf_result_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/1million/1million_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/21million/bulk/run_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/21million/live/run_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/acl/restore/acl_restore_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions systest/audit/audit_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2017-2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/encryption/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/filesystem/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/minio-large/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/minio/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/multi-tenancy/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/backup/nfs-backup/backup_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/bgindex/common_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bgindex/count_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bgindex/parallel_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bgindex/reverse_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bgindex/string_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bulk_live/bulk/bulk_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/bulk_live/live/live_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/cdc/cdc_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/cloud/cloud_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/export/export_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors *
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 2 additions & 0 deletions systest/group-delete/group_delete_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/ldbc/ldbc_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

package main

import (
Expand Down
2 changes: 2 additions & 0 deletions systest/license/license_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/live_pw_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
2 changes: 2 additions & 0 deletions systest/loader/loader_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build integration

/*
* Copyright 2023 Dgraph Labs, Inc. and Contributors
*
Expand Down
Loading