From 54ff3b94ec50014b216d8f9a3ffb0f61de41b786 Mon Sep 17 00:00:00 2001 From: Dominic Evans Date: Fri, 27 Dec 2024 13:47:26 +0100 Subject: [PATCH] chore(test): tag all unittests as !integration To avoid re-running all the unittests when running the integration (FV) tests, add a go:build directive of '!integration' to all unittest files. Signed-off-by: Dominic Evans --- acl_create_request_test.go | 2 ++ acl_create_response_test.go | 2 ++ acl_delete_request_test.go | 2 ++ acl_delete_response_test.go | 2 ++ acl_describe_request_test.go | 2 ++ acl_describe_response_test.go | 2 ++ acl_types_test.go | 2 ++ add_offsets_to_txn_request_test.go | 2 ++ add_offsets_to_txn_response_test.go | 2 ++ add_partitions_to_txn_request_test.go | 2 ++ add_partitions_to_txn_response_test.go | 2 ++ admin_test.go | 2 ++ alter_client_quotas_request_test.go | 2 ++ alter_client_quotas_response_test.go | 2 ++ alter_configs_request_test.go | 2 ++ alter_configs_response_test.go | 2 ++ alter_partition_reassignments_request_test.go | 2 ++ alter_partition_reassignments_response_test.go | 2 ++ alter_user_scram_credentials_request_test.go | 2 ++ alter_user_scram_credentials_response_test.go | 2 ++ api_versions_request_test.go | 2 ++ api_versions_response_test.go | 2 ++ async_producer_test.go | 2 ++ balance_strategy_test.go | 2 ++ broker_test.go | 2 ++ client_test.go | 2 ++ client_tls_test.go | 2 ++ config_test.go | 2 ++ consumer_group_example_test.go | 2 ++ consumer_group_members_test.go | 2 ++ consumer_group_test.go | 2 ++ consumer_metadata_request_test.go | 2 ++ consumer_metadata_response_test.go | 2 ++ consumer_test.go | 2 ++ control_record_test.go | 2 ++ create_partitions_request_test.go | 2 ++ create_partitions_response_test.go | 2 ++ create_topics_request_test.go | 2 ++ create_topics_response_test.go | 2 ++ delete_groups_request_test.go | 2 ++ delete_groups_response_test.go | 2 ++ delete_offsets_request_test.go | 2 ++ delete_offsets_response_test.go | 2 ++ delete_records_request_test.go | 2 ++ delete_records_response_test.go | 2 ++ delete_topics_request_test.go | 2 ++ delete_topics_response_test.go | 2 ++ describe_client_quotas_request_test.go | 2 ++ describe_client_quotas_response_test.go | 2 ++ describe_configs_request_test.go | 2 ++ describe_configs_response_test.go | 2 ++ describe_groups_request_test.go | 2 ++ describe_groups_response_test.go | 2 ++ describe_log_dirs_request_test.go | 2 ++ describe_log_dirs_response_test.go | 2 ++ describe_user_scram_credentials_request_test.go | 2 ++ describe_user_scram_credentials_response_test.go | 2 ++ elect_leaders_request_test.go | 2 ++ elect_leaders_response_test.go | 2 ++ end_txn_request_test.go | 2 ++ end_txn_response_test.go | 2 ++ errors_test.go | 2 ++ examples/http_server/http_server_test.go | 2 ++ fetch_request_test.go | 2 ++ fetch_response_test.go | 2 ++ find_coordinator_request_test.go | 2 ++ find_coordinator_response_test.go | 2 ++ heartbeat_request_test.go | 2 ++ heartbeat_response_test.go | 2 ++ incremental_alter_configs_request_test.go | 2 ++ incremental_alter_configs_response_test.go | 2 ++ init_producer_id_request_test.go | 2 ++ init_producer_id_response_test.go | 2 ++ join_group_request_test.go | 2 ++ join_group_response_test.go | 2 ++ kerberos_client_test.go | 2 ++ leave_group_request_test.go | 2 ++ leave_group_response_test.go | 2 ++ list_groups_request_test.go | 2 ++ list_groups_response_test.go | 2 ++ list_partition_reassignments_request_test.go | 2 ++ list_partition_reassignments_response_test.go | 2 ++ logger_test.go | 2 ++ message_test.go | 2 ++ metadata_request_test.go | 2 ++ metadata_response_test.go | 2 ++ metrics_test.go | 2 ++ mocks/async_producer_test.go | 2 ++ mocks/consumer_test.go | 2 ++ mocks/sync_producer_test.go | 2 ++ offset_commit_request_test.go | 2 ++ offset_commit_response_test.go | 2 ++ offset_fetch_request_test.go | 2 ++ offset_fetch_response_test.go | 2 ++ offset_manager_test.go | 2 ++ offset_request_test.go | 2 ++ offset_response_test.go | 2 ++ partitioner_test.go | 2 ++ produce_request_test.go | 2 ++ produce_response_test.go | 2 ++ produce_set_test.go | 2 ++ record_test.go | 2 ++ records_test.go | 2 ++ request_test.go | 2 ++ response_header_test.go | 2 ++ sasl_authenticate_request_test.go | 2 ++ sasl_authenticate_response_test.go | 2 ++ sasl_handshake_request_test.go | 2 ++ sasl_handshake_response_test.go | 2 ++ scram_formatter_test.go | 2 ++ sticky_assignor_user_data_test.go | 2 ++ sync_group_request_test.go | 2 ++ sync_group_response_test.go | 2 ++ sync_producer_test.go | 2 ++ transaction_manager_test.go | 2 ++ txn_offset_commit_request_test.go | 2 ++ txn_offset_commit_response_test.go | 2 ++ utils_test.go | 2 ++ zstd_test.go | 2 ++ 119 files changed, 238 insertions(+) diff --git a/acl_create_request_test.go b/acl_create_request_test.go index fdaf0edd5..5aa3db3ee 100644 --- a/acl_create_request_test.go +++ b/acl_create_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/acl_create_response_test.go b/acl_create_response_test.go index 65b934d9a..b44a5134c 100644 --- a/acl_create_response_test.go +++ b/acl_create_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/acl_delete_request_test.go b/acl_delete_request_test.go index cb126e30f..b688adf02 100644 --- a/acl_delete_request_test.go +++ b/acl_delete_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/acl_delete_response_test.go b/acl_delete_response_test.go index eb57d68a5..3336d309a 100644 --- a/acl_delete_response_test.go +++ b/acl_delete_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/acl_describe_request_test.go b/acl_describe_request_test.go index 3cb73eb79..fdaa08e1f 100644 --- a/acl_describe_request_test.go +++ b/acl_describe_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/acl_describe_response_test.go b/acl_describe_response_test.go index f0652cfee..2224bbe95 100644 --- a/acl_describe_response_test.go +++ b/acl_describe_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/acl_types_test.go b/acl_types_test.go index 0b5247a14..5ea9e7e24 100644 --- a/acl_types_test.go +++ b/acl_types_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/add_offsets_to_txn_request_test.go b/add_offsets_to_txn_request_test.go index 471d085cd..4bcfb4640 100644 --- a/add_offsets_to_txn_request_test.go +++ b/add_offsets_to_txn_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/add_offsets_to_txn_response_test.go b/add_offsets_to_txn_response_test.go index d1730cee4..95d4eba94 100644 --- a/add_offsets_to_txn_response_test.go +++ b/add_offsets_to_txn_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/add_partitions_to_txn_request_test.go b/add_partitions_to_txn_request_test.go index f60a88695..b7f033970 100644 --- a/add_partitions_to_txn_request_test.go +++ b/add_partitions_to_txn_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/add_partitions_to_txn_response_test.go b/add_partitions_to_txn_response_test.go index b3635e58d..4f899f94f 100644 --- a/add_partitions_to_txn_response_test.go +++ b/add_partitions_to_txn_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/admin_test.go b/admin_test.go index 5b42a5a6a..31545c4a2 100644 --- a/admin_test.go +++ b/admin_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/alter_client_quotas_request_test.go b/alter_client_quotas_request_test.go index 46f92b9cb..081dec5df 100644 --- a/alter_client_quotas_request_test.go +++ b/alter_client_quotas_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_client_quotas_response_test.go b/alter_client_quotas_response_test.go index 40efeb547..f4de77e5c 100644 --- a/alter_client_quotas_response_test.go +++ b/alter_client_quotas_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_configs_request_test.go b/alter_configs_request_test.go index e612244c6..ae0161f65 100644 --- a/alter_configs_request_test.go +++ b/alter_configs_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_configs_response_test.go b/alter_configs_response_test.go index 62cd5991f..4707d075d 100644 --- a/alter_configs_response_test.go +++ b/alter_configs_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/alter_partition_reassignments_request_test.go b/alter_partition_reassignments_request_test.go index c917f2d79..1ece51a2e 100644 --- a/alter_partition_reassignments_request_test.go +++ b/alter_partition_reassignments_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_partition_reassignments_response_test.go b/alter_partition_reassignments_response_test.go index 8c39ef6ce..1b511c6be 100644 --- a/alter_partition_reassignments_response_test.go +++ b/alter_partition_reassignments_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_user_scram_credentials_request_test.go b/alter_user_scram_credentials_request_test.go index 6fe881906..c83b21e5d 100644 --- a/alter_user_scram_credentials_request_test.go +++ b/alter_user_scram_credentials_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/alter_user_scram_credentials_response_test.go b/alter_user_scram_credentials_response_test.go index 983500639..beca668ce 100644 --- a/alter_user_scram_credentials_response_test.go +++ b/alter_user_scram_credentials_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/api_versions_request_test.go b/api_versions_request_test.go index 371ac9602..03cfed8fd 100644 --- a/api_versions_request_test.go +++ b/api_versions_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/api_versions_response_test.go b/api_versions_response_test.go index 26e0bf2a4..d71b72ab7 100644 --- a/api_versions_response_test.go +++ b/api_versions_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/async_producer_test.go b/async_producer_test.go index 099441d70..44da15c61 100644 --- a/async_producer_test.go +++ b/async_producer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/balance_strategy_test.go b/balance_strategy_test.go index f397a9073..fa42bca82 100644 --- a/balance_strategy_test.go +++ b/balance_strategy_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/broker_test.go b/broker_test.go index 6e6b8480c..7abcc5ca8 100644 --- a/broker_test.go +++ b/broker_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/client_test.go b/client_test.go index 155827a00..6280f334f 100644 --- a/client_test.go +++ b/client_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/client_tls_test.go b/client_tls_test.go index 7c2432c99..c95b5354d 100644 --- a/client_tls_test.go +++ b/client_tls_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/config_test.go b/config_test.go index 4db9af95c..92130ff90 100644 --- a/config_test.go +++ b/config_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_group_example_test.go b/consumer_group_example_test.go index 06eb1d964..ccaf24f78 100644 --- a/consumer_group_example_test.go +++ b/consumer_group_example_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_group_members_test.go b/consumer_group_members_test.go index a28755d2e..6c2d7c5d9 100644 --- a/consumer_group_members_test.go +++ b/consumer_group_members_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_group_test.go b/consumer_group_test.go index 30d615e98..3c77e77b3 100644 --- a/consumer_group_test.go +++ b/consumer_group_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_metadata_request_test.go b/consumer_metadata_request_test.go index 3f6bcdb57..aa2d5a323 100644 --- a/consumer_metadata_request_test.go +++ b/consumer_metadata_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_metadata_response_test.go b/consumer_metadata_response_test.go index cdd489ec1..8d64d268c 100644 --- a/consumer_metadata_response_test.go +++ b/consumer_metadata_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/consumer_test.go b/consumer_test.go index 126cef6c3..23ad71f2e 100644 --- a/consumer_test.go +++ b/consumer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/control_record_test.go b/control_record_test.go index 8a1d74863..06c155e0b 100644 --- a/control_record_test.go +++ b/control_record_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/create_partitions_request_test.go b/create_partitions_request_test.go index 8230b3866..7019868d8 100644 --- a/create_partitions_request_test.go +++ b/create_partitions_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/create_partitions_response_test.go b/create_partitions_response_test.go index 83125a20e..8df0ad12e 100644 --- a/create_partitions_response_test.go +++ b/create_partitions_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/create_topics_request_test.go b/create_topics_request_test.go index daf223c53..d845aa38e 100644 --- a/create_topics_request_test.go +++ b/create_topics_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/create_topics_response_test.go b/create_topics_response_test.go index 8e92db331..58428bf8f 100644 --- a/create_topics_response_test.go +++ b/create_topics_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_groups_request_test.go b/delete_groups_request_test.go index 908172498..8381829a0 100644 --- a/delete_groups_request_test.go +++ b/delete_groups_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/delete_groups_response_test.go b/delete_groups_response_test.go index 0bcfe5528..824f0217a 100644 --- a/delete_groups_response_test.go +++ b/delete_groups_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_offsets_request_test.go b/delete_offsets_request_test.go index 0eea3fc9f..d04b8eab4 100644 --- a/delete_offsets_request_test.go +++ b/delete_offsets_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/delete_offsets_response_test.go b/delete_offsets_response_test.go index 8d069dbcb..17be3c86b 100644 --- a/delete_offsets_response_test.go +++ b/delete_offsets_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_records_request_test.go b/delete_records_request_test.go index c72960cfb..aa79033b2 100644 --- a/delete_records_request_test.go +++ b/delete_records_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_records_response_test.go b/delete_records_response_test.go index 3653cdc41..dc954947d 100644 --- a/delete_records_response_test.go +++ b/delete_records_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_topics_request_test.go b/delete_topics_request_test.go index c313a2f3b..18a6bd0fe 100644 --- a/delete_topics_request_test.go +++ b/delete_topics_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/delete_topics_response_test.go b/delete_topics_response_test.go index 516f1a3bd..674faa2d1 100644 --- a/delete_topics_response_test.go +++ b/delete_topics_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/describe_client_quotas_request_test.go b/describe_client_quotas_request_test.go index 6b8c0c9c5..086c478f3 100644 --- a/describe_client_quotas_request_test.go +++ b/describe_client_quotas_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_client_quotas_response_test.go b/describe_client_quotas_response_test.go index 6c681d11c..1c9d6d36c 100644 --- a/describe_client_quotas_response_test.go +++ b/describe_client_quotas_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_configs_request_test.go b/describe_configs_request_test.go index b3a8d295a..649dc94d8 100644 --- a/describe_configs_request_test.go +++ b/describe_configs_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_configs_response_test.go b/describe_configs_response_test.go index ea8f28e57..60c4a0810 100644 --- a/describe_configs_response_test.go +++ b/describe_configs_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/describe_groups_request_test.go b/describe_groups_request_test.go index a2d87b4b6..ff15637c3 100644 --- a/describe_groups_request_test.go +++ b/describe_groups_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_groups_response_test.go b/describe_groups_response_test.go index 8930a2eb6..7370c8145 100644 --- a/describe_groups_response_test.go +++ b/describe_groups_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/describe_log_dirs_request_test.go b/describe_log_dirs_request_test.go index 65b88c685..250edc708 100644 --- a/describe_log_dirs_request_test.go +++ b/describe_log_dirs_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_log_dirs_response_test.go b/describe_log_dirs_response_test.go index 5a1eb5b5e..646e6c293 100644 --- a/describe_log_dirs_response_test.go +++ b/describe_log_dirs_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/describe_user_scram_credentials_request_test.go b/describe_user_scram_credentials_request_test.go index 87e52bab6..f27921737 100644 --- a/describe_user_scram_credentials_request_test.go +++ b/describe_user_scram_credentials_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/describe_user_scram_credentials_response_test.go b/describe_user_scram_credentials_response_test.go index a251eaf7a..fcbe471a8 100644 --- a/describe_user_scram_credentials_response_test.go +++ b/describe_user_scram_credentials_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/elect_leaders_request_test.go b/elect_leaders_request_test.go index 0133c0cad..70fd1b914 100644 --- a/elect_leaders_request_test.go +++ b/elect_leaders_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/elect_leaders_response_test.go b/elect_leaders_response_test.go index 8768dfbb8..394037d95 100644 --- a/elect_leaders_response_test.go +++ b/elect_leaders_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/end_txn_request_test.go b/end_txn_request_test.go index 6f5d4480e..a57d497ef 100644 --- a/end_txn_request_test.go +++ b/end_txn_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/end_txn_response_test.go b/end_txn_response_test.go index d7ae1c988..29c8052f4 100644 --- a/end_txn_response_test.go +++ b/end_txn_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/errors_test.go b/errors_test.go index 4efdd9d4e..7e0af00f4 100644 --- a/errors_test.go +++ b/errors_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/examples/http_server/http_server_test.go b/examples/http_server/http_server_test.go index 83d445196..6d299baf5 100644 --- a/examples/http_server/http_server_test.go +++ b/examples/http_server/http_server_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package main import ( diff --git a/fetch_request_test.go b/fetch_request_test.go index 3df2df125..d6647f34c 100644 --- a/fetch_request_test.go +++ b/fetch_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/fetch_response_test.go b/fetch_response_test.go index ab8959a9a..193790e4f 100644 --- a/fetch_response_test.go +++ b/fetch_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/find_coordinator_request_test.go b/find_coordinator_request_test.go index 7e889b074..697e87c45 100644 --- a/find_coordinator_request_test.go +++ b/find_coordinator_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/find_coordinator_response_test.go b/find_coordinator_response_test.go index 417a76c6e..55a62310a 100644 --- a/find_coordinator_response_test.go +++ b/find_coordinator_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/heartbeat_request_test.go b/heartbeat_request_test.go index fd62685b0..abcddf1be 100644 --- a/heartbeat_request_test.go +++ b/heartbeat_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/heartbeat_response_test.go b/heartbeat_response_test.go index c5d669e8f..071810c70 100644 --- a/heartbeat_response_test.go +++ b/heartbeat_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/incremental_alter_configs_request_test.go b/incremental_alter_configs_request_test.go index d239bf5f5..1b7d691ad 100644 --- a/incremental_alter_configs_request_test.go +++ b/incremental_alter_configs_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/incremental_alter_configs_response_test.go b/incremental_alter_configs_response_test.go index 697156709..0b7688b0b 100644 --- a/incremental_alter_configs_response_test.go +++ b/incremental_alter_configs_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/init_producer_id_request_test.go b/init_producer_id_request_test.go index 4214342e1..dea65c191 100644 --- a/init_producer_id_request_test.go +++ b/init_producer_id_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/init_producer_id_response_test.go b/init_producer_id_response_test.go index ebc5d16ad..545cde6c2 100644 --- a/init_producer_id_response_test.go +++ b/init_producer_id_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/join_group_request_test.go b/join_group_request_test.go index 2597b8669..eb13c7d2c 100644 --- a/join_group_request_test.go +++ b/join_group_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/join_group_response_test.go b/join_group_response_test.go index 9c9800b9a..e86602732 100644 --- a/join_group_response_test.go +++ b/join_group_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/kerberos_client_test.go b/kerberos_client_test.go index 6b14a6e44..c2a2e7f79 100644 --- a/kerberos_client_test.go +++ b/kerberos_client_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/leave_group_request_test.go b/leave_group_request_test.go index 4b8d482f7..6525f1280 100644 --- a/leave_group_request_test.go +++ b/leave_group_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/leave_group_response_test.go b/leave_group_response_test.go index 306c721a0..8969b78b3 100644 --- a/leave_group_response_test.go +++ b/leave_group_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/list_groups_request_test.go b/list_groups_request_test.go index fbb3bbd42..7eb784b1e 100644 --- a/list_groups_request_test.go +++ b/list_groups_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/list_groups_response_test.go b/list_groups_response_test.go index a7205f854..ad75c5faf 100644 --- a/list_groups_response_test.go +++ b/list_groups_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/list_partition_reassignments_request_test.go b/list_partition_reassignments_request_test.go index e50b289b9..c77806cdf 100644 --- a/list_partition_reassignments_request_test.go +++ b/list_partition_reassignments_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/list_partition_reassignments_response_test.go b/list_partition_reassignments_response_test.go index 71532423d..b32ed86a1 100644 --- a/list_partition_reassignments_response_test.go +++ b/list_partition_reassignments_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/logger_test.go b/logger_test.go index 1aa79c5ee..02514c205 100644 --- a/logger_test.go +++ b/logger_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/message_test.go b/message_test.go index 02d29134b..16cfec5e2 100644 --- a/message_test.go +++ b/message_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/metadata_request_test.go b/metadata_request_test.go index f99993032..9a26fa85b 100644 --- a/metadata_request_test.go +++ b/metadata_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/metadata_response_test.go b/metadata_response_test.go index 63c1d4801..ade2032bb 100644 --- a/metadata_response_test.go +++ b/metadata_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/metrics_test.go b/metrics_test.go index c9144df38..954032979 100644 --- a/metrics_test.go +++ b/metrics_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/mocks/async_producer_test.go b/mocks/async_producer_test.go index e282109e2..5097cd606 100644 --- a/mocks/async_producer_test.go +++ b/mocks/async_producer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package mocks import ( diff --git a/mocks/consumer_test.go b/mocks/consumer_test.go index 1d8659a3d..cbf81344e 100644 --- a/mocks/consumer_test.go +++ b/mocks/consumer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package mocks import ( diff --git a/mocks/sync_producer_test.go b/mocks/sync_producer_test.go index f2e51cf5e..7919f8be3 100644 --- a/mocks/sync_producer_test.go +++ b/mocks/sync_producer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package mocks import ( diff --git a/offset_commit_request_test.go b/offset_commit_request_test.go index 2731aacdb..76593e263 100644 --- a/offset_commit_request_test.go +++ b/offset_commit_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/offset_commit_response_test.go b/offset_commit_response_test.go index e0ad7c02c..0ac11549e 100644 --- a/offset_commit_response_test.go +++ b/offset_commit_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/offset_fetch_request_test.go b/offset_fetch_request_test.go index d4497a8b8..3716211de 100644 --- a/offset_fetch_request_test.go +++ b/offset_fetch_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/offset_fetch_response_test.go b/offset_fetch_response_test.go index 0676b0fc4..b756700f1 100644 --- a/offset_fetch_response_test.go +++ b/offset_fetch_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/offset_manager_test.go b/offset_manager_test.go index 971ed3a42..48c9ecb4b 100644 --- a/offset_manager_test.go +++ b/offset_manager_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/offset_request_test.go b/offset_request_test.go index 619680ea3..1301f5617 100644 --- a/offset_request_test.go +++ b/offset_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/offset_response_test.go b/offset_response_test.go index e46fc121e..2d5501630 100644 --- a/offset_response_test.go +++ b/offset_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/partitioner_test.go b/partitioner_test.go index 7d25db1d3..256cb820a 100644 --- a/partitioner_test.go +++ b/partitioner_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/produce_request_test.go b/produce_request_test.go index e8684ffd2..5c25f5860 100644 --- a/produce_request_test.go +++ b/produce_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/produce_response_test.go b/produce_response_test.go index 9018d5354..df745a608 100644 --- a/produce_response_test.go +++ b/produce_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/produce_set_test.go b/produce_set_test.go index 8f580c27d..c72a8dba6 100644 --- a/produce_set_test.go +++ b/produce_set_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/record_test.go b/record_test.go index aec5c848d..b8c48fcab 100644 --- a/record_test.go +++ b/record_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/records_test.go b/records_test.go index 621e4b32d..ee0ef6588 100644 --- a/records_test.go +++ b/records_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/request_test.go b/request_test.go index 70b09a89a..89bc89d46 100644 --- a/request_test.go +++ b/request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/response_header_test.go b/response_header_test.go index c7c68eae7..b86daf18d 100644 --- a/response_header_test.go +++ b/response_header_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/sasl_authenticate_request_test.go b/sasl_authenticate_request_test.go index fd13a7c4a..a53388541 100644 --- a/sasl_authenticate_request_test.go +++ b/sasl_authenticate_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/sasl_authenticate_response_test.go b/sasl_authenticate_response_test.go index ed037ed08..48a1cf6ec 100644 --- a/sasl_authenticate_response_test.go +++ b/sasl_authenticate_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/sasl_handshake_request_test.go b/sasl_handshake_request_test.go index e100ad5b9..1fe2a7ab7 100644 --- a/sasl_handshake_request_test.go +++ b/sasl_handshake_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/sasl_handshake_response_test.go b/sasl_handshake_response_test.go index de289ca0d..598e8e0c1 100644 --- a/sasl_handshake_response_test.go +++ b/sasl_handshake_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/scram_formatter_test.go b/scram_formatter_test.go index b673a6a7d..fcccb396c 100644 --- a/scram_formatter_test.go +++ b/scram_formatter_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/sticky_assignor_user_data_test.go b/sticky_assignor_user_data_test.go index 9eb09a615..576738c30 100644 --- a/sticky_assignor_user_data_test.go +++ b/sticky_assignor_user_data_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/sync_group_request_test.go b/sync_group_request_test.go index 2eb23b03b..4fa301693 100644 --- a/sync_group_request_test.go +++ b/sync_group_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/sync_group_response_test.go b/sync_group_response_test.go index 8943153f6..be891fc0d 100644 --- a/sync_group_response_test.go +++ b/sync_group_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/sync_producer_test.go b/sync_producer_test.go index 776ae5f69..357a7d5b1 100644 --- a/sync_producer_test.go +++ b/sync_producer_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/transaction_manager_test.go b/transaction_manager_test.go index 6a9b04ab0..20a9e5ffa 100644 --- a/transaction_manager_test.go +++ b/transaction_manager_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/txn_offset_commit_request_test.go b/txn_offset_commit_request_test.go index 5dea31767..b59a7faee 100644 --- a/txn_offset_commit_request_test.go +++ b/txn_offset_commit_request_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/txn_offset_commit_response_test.go b/txn_offset_commit_response_test.go index b4caa69b9..570c712c2 100644 --- a/txn_offset_commit_response_test.go +++ b/txn_offset_commit_response_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import ( diff --git a/utils_test.go b/utils_test.go index dc487dd67..96b2c4b54 100644 --- a/utils_test.go +++ b/utils_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import "testing" diff --git a/zstd_test.go b/zstd_test.go index efdc6d83d..119772b1d 100644 --- a/zstd_test.go +++ b/zstd_test.go @@ -1,3 +1,5 @@ +//go:build !functional + package sarama import (