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

Tyk-Pump Releng Update [MASTER] #680

Closed
wants to merge 1 commit into from

Update releng and sync-automation

09fbe7a
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Tyk-Pump Releng Update [MASTER] #680

Update releng and sync-automation
09fbe7a
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Unit Test Results succeeded Jul 10, 2023 in 0s

472 passed, 0 failed and 2 skipped

Tests passed successfully

Report Passed Failed Skipped Time
analytics.xml 121✔️ 4s
demo.xml 8✔️ 14s
logger.xml 7✔️ 427ms
proto.xml 256ms
pumps.xml 261✔️ 2✖️ 74s
serializer.xml 9✔️ 2s
server.xml 268ms
storage.xml 30✔️ 799ms
tyk-pump.xml 36✔️ 148s

✔️ analytics.xml

121 tests were completed in 4s with 121 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/analytics 121✔️ 399ms

✔️ github.com/TykTechnologies/tyk-pump/analytics

✔️ TestCode_ProcessStatusCodes
✔️ TestAggregate_Tags/empty_tags
✔️ TestAggregate_Tags/dot
✔️ TestAggregate_Tags
✔️ TestTrimTag
✔️ TestAggregateGraphData/default
✔️ TestAggregateGraphData/skip_non_graph_records
✔️ TestAggregateGraphData/has_errors
✔️ TestAggregateGraphData/error_response_code
✔️ TestAggregateGraphData
✔️ TestAggregateGraphData_Dimension
✔️ TestAggregateData_SkipGraphRecords/should_not_skip_records_if_no_graph_analytics_record_is_present
✔️ TestAggregateData_SkipGraphRecords/should_skip_graph_analytics_records
✔️ TestAggregateData_SkipGraphRecords
✔️ TestSetAggregateTimestamp/AggregationTime_is_60
✔️ TestSetAggregateTimestamp/AggregationTime_is_1
✔️ TestSetAggregateTimestamp/AggregationTime_is_40
✔️ TestSetAggregateTimestamp
✔️ TestAggregatedRecord_TableName/should_return_table_name_with_org_id
✔️ TestAggregatedRecord_TableName/should_return_table_name_with_org_id#01
✔️ TestAggregatedRecord_TableName
✔️ TestAggregatedRecord_GetObjectID/should_return_the_ID_field
✔️ TestAggregatedRecord_GetObjectID
✔️ TestAggregatedRecord_SetObjectID/should_set_the_ID_field
✔️ TestAggregatedRecord_SetObjectID
✔️ TestSQLAnalyticsRecordAggregate_TableName/should_return_the_SQL_table_name
✔️ TestSQLAnalyticsRecordAggregate_TableName
✔️ TestAnalyticsRecordAggregate_generateBSONFromProperty/success_counter
✔️ TestAnalyticsRecordAggregate_generateBSONFromProperty/error_counter
✔️ TestAnalyticsRecordAggregate_generateBSONFromProperty/without_name
✔️ TestAnalyticsRecordAggregate_generateBSONFromProperty
✔️ TestAnalyticsRecordAggregate_generateSetterForTime/with_name
✔️ TestAnalyticsRecordAggregate_generateSetterForTime/without_name
✔️ TestAnalyticsRecordAggregate_generateSetterForTime
✔️ TestAnalyticsRecordAggregate_latencySetter/with_name_and_hits
✔️ TestAnalyticsRecordAggregate_latencySetter/without_name_and_with_hits
✔️ TestAnalyticsRecordAggregate_latencySetter/without_name_and_without_hits
✔️ TestAnalyticsRecordAggregate_latencySetter
✔️ TestAnalyticsRecordAggregate_AsChange/aggregate_with_versions_-_no_errors
✔️ TestAnalyticsRecordAggregate_AsChange/aggregate_with_apiid_-_with_errors
✔️ TestAnalyticsRecordAggregate_AsChange
✔️ TestAnalyticsRecordAggregate_AsTimeUpdate/oauthendpoint+keyendpoint+apiendpoint+tota
✔️ TestAnalyticsRecordAggregate_AsTimeUpdate
✔️ TestShouldFilter/skip_apiids
✔️ TestShouldFilter/skip_org_ids
✔️ TestShouldFilter/skip_response_codes
✔️ TestShouldFilter/api_ids
✔️ TestShouldFilter/org_ids
✔️ TestShouldFilter/response_codes
✔️ TestShouldFilter/different_org_ids
✔️ TestShouldFilter/different_api_ids
✔️ TestShouldFilter/different_response_codes
✔️ TestShouldFilter/no_filter
✔️ TestShouldFilter/multiple_filter
✔️ TestShouldFilter
✔️ TestHasFilter
✔️ TestAnalyticsRecord_IsGraphRecord/should_return_false_when_no_tags_are_available
✔️ TestAnalyticsRecord_IsGraphRecord/should_return_false_when_tags_do_not_contain_the_graph_analytics_tag
✔️ TestAnalyticsRecord_IsGraphRecord/should_return_true_when_tags_contain_the_graph_analytics_tag
✔️ TestAnalyticsRecord_IsGraphRecord
✔️ TestAnalyticsRecord_RemoveIgnoredFields/should_remove_ignored_APIID_field
✔️ TestAnalyticsRecord_RemoveIgnoredFields/should_remove_ignored_APIID_and_APIKey_fields
✔️ TestAnalyticsRecord_RemoveIgnoredFields/should_remove_valid_fields_and_ignore_invalid_fields
✔️ TestAnalyticsRecord_RemoveIgnoredFields
✔️ TestAnalyticsRecord_Base
✔️ TestAnalyticsRecord_GetFieldNames
✔️ TestAnalyticsRecord_GetLineValues
✔️ TestAnalyticsRecord_ToGraphRecord/no_error
✔️ TestAnalyticsRecord_ToGraphRecord/multiple_query_operations
✔️ TestAnalyticsRecord_ToGraphRecord/subgraph_request
✔️ TestAnalyticsRecord_ToGraphRecord/no_error_mutation
✔️ TestAnalyticsRecord_ToGraphRecord/no_error_subscription
✔️ TestAnalyticsRecord_ToGraphRecord/bad_document
✔️ TestAnalyticsRecord_ToGraphRecord/no_error_list_operation
✔️ TestAnalyticsRecord_ToGraphRecord/has_variables
✔️ TestAnalyticsRecord_ToGraphRecord/no_operation
✔️ TestAnalyticsRecord_ToGraphRecord/operation_name_specified
✔️ TestAnalyticsRecord_ToGraphRecord/has_errors
✔️ TestAnalyticsRecord_ToGraphRecord/corrupted_raw_request_
✔️ TestAnalyticsRecord_ToGraphRecord/corrupted_raw_response_
✔️ TestAnalyticsRecord_ToGraphRecord/invalid_response_json_
✔️ TestAnalyticsRecord_ToGraphRecord/corrupted_schema_should_error_out
✔️ TestAnalyticsRecord_ToGraphRecord/error_in_request
✔️ TestAnalyticsRecord_ToGraphRecord
✔️ Test_getObjectTypeRefWithName/fail
✔️ Test_getObjectTypeRefWithName/successful
✔️ Test_getObjectTypeRefWithName/invalid_because_input
✔️ Test_getObjectTypeRefWithName
✔️ Test_getObjectFieldRefWithName/successful_run
✔️ Test_getObjectFieldRefWithName/failed_run_due_to_invalid_field
✔️ Test_getObjectFieldRefWithName
✔️ Test_generateNormalizedDocuments/test_valid_request
✔️ Test_generateNormalizedDocuments/test_invalid_request
✔️ Test_generateNormalizedDocuments/invalid_schema
✔️ Test_generateNormalizedDocuments/invalid_request_for_normalization
✔️ Test_generateNormalizedDocuments
✔️ Test_getOperationSelectionFieldDefinition/successful_query
✔️ Test_getOperationSelectionFieldDefinition/invalid_query
✔️ Test_getOperationSelectionFieldDefinition/invalid_query_type_name
✔️ Test_getOperationSelectionFieldDefinition/invalid_mutation_type_name
✔️ Test_getOperationSelectionFieldDefinition/invalid_subscription_type_name
✔️ Test_getOperationSelectionFieldDefinition
✔️ TestUptimeReportData_GetObjectID/should_return_the_ID_field
✔️ TestUptimeReportData_GetObjectID
✔️ TestUptimeReportData_SetObjectID/should_set_the_ID_field
✔️ TestUptimeReportData_SetObjectID
✔️ TestUptimeReportData_TableName/should_return_the_uptime_SQL_table_name
✔️ TestUptimeReportData_TableName
✔️ TestUptimeReportAggregateSQL_TableName/should_return_the_uptime_aggregate_SQL_table_name
✔️ TestUptimeReportAggregateSQL_TableName
✔️ TestUptimeReportAggregate_New/should_return_a_new_UptimeReportAggregate
✔️ TestUptimeReportAggregate_New
✔️ TestUptimeReportAggregate_Dimensions/should_return_the_dimensions
✔️ TestUptimeReportAggregate_Dimensions/no_extra_dimensions
✔️ TestUptimeReportAggregate_Dimensions
✔️ TestAggregateUptimeData/empty_input
✔️ TestAggregateUptimeData/single_record
✔️ TestAggregateUptimeData/single_record_-_response_code_-1
✔️ TestAggregateUptimeData/multi_record
✔️ TestAggregateUptimeData
✔️ TestOnConflictUptimeAssignments

✔️ demo.xml

8 tests were completed in 14s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/analytics/demo 8✔️ 13s

✔️ github.com/TykTechnologies/tyk-pump/analytics/demo

✔️ TestGenerateDemoData/generating_demo_data_for_1_day,_1_record_per_hour_->_24_records
✔️ TestGenerateDemoData/generating_demo_data_for_2_days,_1_record_per_hour_->_48_records
✔️ TestGenerateDemoData/generating_demo_data_for_1_day,_2_records_per_hour_->_48_records
✔️ TestGenerateDemoData/generating_demo_data_for_2_days,_2_records_per_hour_->_96_records
✔️ TestGenerateDemoData/generating_demo_data_for_0_days,_100_records_per_hour_->_0_records
✔️ TestGenerateDemoData/generating_demo_data_for_1_day,_0_records_per_hour_->_0_records
✔️ TestGenerateDemoData/generating_demo_data_for_10_days,_from_300_to_500_records_per_hour
✔️ TestGenerateDemoData

✔️ logger.xml

7 tests were completed in 427ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/logger 7✔️ 33ms

✔️ github.com/TykTechnologies/tyk-pump/logger

✔️ TestFormatterWithForcedPrefixFileOutput
✔️ Test_GetLogger/default
✔️ Test_GetLogger/error
✔️ Test_GetLogger/warn
✔️ Test_GetLogger/info
✔️ Test_GetLogger/debug
✔️ Test_GetLogger

✔️ proto.xml

No tests found

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/analytics/proto 0ms

✔️ pumps.xml

263 tests were completed in 74s with 261 passed, 0 failed and 2 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/pumps 261✔️ 2✖️ 67s

✔️ github.com/TykTechnologies/tyk-pump/pumps

✖️ TestMongoPump_capCollection_Not64arch
✖️ TestSegmentPump
✔️ TestDecodingRequest
✔️ TestSetDecodingResponse
✔️ TestCSVPump_New/TestCSVPump_New
✔️ TestCSVPump_New
✔️ TestCSVPump_GetName/TestCSVPump_GetName
✔️ TestCSVPump_GetName
✔️ TestCSVPump_Init/TestCSVPump_Init
✔️ TestCSVPump_Init
✔️ TestCSVPump_WriteData/writing_1_record
✔️ TestCSVPump_WriteData/writing_10_records
✔️ TestCSVPump_WriteData/trying_to_write_invalid_records
✔️ TestCSVPump_WriteData
✔️ Test_getTLSConfig/SSLCertFile,_SSLKeyfile_are_set_and_InsecureSkipVerify_=_true
✔️ Test_getTLSConfig/SSLCertFile,_SSLKeyfile_are_set_and_InsecureSkipVerify_=_false
✔️ Test_getTLSConfig/SSLKeyFile_not_set_->_error_expected_because_CertFile_is_set
✔️ Test_getTLSConfig/CertFile_not_set_->_error_expected_because_KeyFile_is_set
✔️ Test_getTLSConfig/CertFile_and_KeyFile_not_set_->_no_error_expected._It_must_return_a_tls.Config_with_InsecureSkipVerify_=_true
✔️ Test_getTLSConfig/Invalid_CertFile_->_error_expected.
✔️ Test_getTLSConfig
✔️ TestGraphMongoPump_WriteData/all_records_written
✔️ TestGraphMongoPump_WriteData/contains_non_graph_records
✔️ TestGraphMongoPump_WriteData/should_be_empty_on_empty_request_response
✔️ TestGraphMongoPump_WriteData
✔️ TestGraphMongoPump_Init/successful_init
✔️ TestGraphMongoPump_Init/invalid_conf_type
✔️ TestGraphMongoPump_Init/max_document_and_insert_size_set
✔️ TestGraphMongoPump_Init
✔️ TestDecodeRequestAndDecodeResponseGraphMongo
✔️ TestSqlGraphAggregatePump_Init/successful
✔️ TestSqlGraphAggregatePump_Init/invalid_connection_details
✔️ TestSqlGraphAggregatePump_Init/should_fail
✔️ TestSqlGraphAggregatePump_Init/invalid_config
✔️ TestSqlGraphAggregatePump_Init/decode_from_map
✔️ TestSqlGraphAggregatePump_Init/sharded_table
✔️ TestSqlGraphAggregatePump_Init/init_from_env
✔️ TestSqlGraphAggregatePump_Init
✔️ TestSqlGraphAggregatePump_WriteData/default
✔️ TestSqlGraphAggregatePump_WriteData/skip_non_graph_records
✔️ TestSqlGraphAggregatePump_WriteData/has_errors
✔️ TestSqlGraphAggregatePump_WriteData
✔️ TestGraphSQLAggregatePump_WriteData_Sharded/should_shard_successfully
✔️ TestGraphSQLAggregatePump_WriteData_Sharded/shard_multiple_tables
✔️ TestGraphSQLAggregatePump_WriteData_Sharded
✔️ TestGraphSQLPump_Init/successful
✔️ TestGraphSQLPump_Init/invalid_connection_details
✔️ TestGraphSQLPump_Init/should_fail
✔️ TestGraphSQLPump_Init/invalid_config
✔️ TestGraphSQLPump_Init/decode_from_map
✔️ TestGraphSQLPump_Init/sharded_table
✔️ TestGraphSQLPump_Init/init_from_env
✔️ TestGraphSQLPump_Init
✔️ TestGraphSQLPump_WriteData/default_case
✔️ TestGraphSQLPump_WriteData/skip_record
✔️ TestGraphSQLPump_WriteData
✔️ TestGraphSQLPump_Sharded
✔️ TestHybridPumpInit/Should_return_error_if_connection_string_is_empty
✔️ TestHybridPumpInit/Should_return_error_if_invalid_credentials
✔️ TestHybridPumpInit/Should_init_if_valid_credentials
✔️ TestHybridPumpInit
✔️ TestHybridPumpWriteData/write_non_aggregated_data
✔️ TestHybridPumpWriteData/write_aggregated_data
✔️ TestHybridPumpWriteData/write_aggregated_data_-_no_records
✔️ TestHybridPumpWriteData
✔️ TestHybridPumpShutdown
✔️ TestWriteLicenseExpire
✔️ TestHybridConfigCheckDefaults/default_values_-_no_aggregated
✔️ TestHybridConfigCheckDefaults/aggregated_true_with_StoreAnalyticsPerMinute
✔️ TestHybridConfigCheckDefaults/aggregated_true_without_StoreAnalyticsPerMinute
✔️ TestHybridConfigCheckDefaults/custom_timeout
✔️ TestHybridConfigCheckDefaults/custom_rpc_pool_size
✔️ TestHybridConfigCheckDefaults
✔️ TestHybridConfigParsing/all_envs
✔️ TestHybridConfigParsing/all_config
✔️ TestHybridConfigParsing/mixed_config
✔️ TestHybridConfigParsing
✔️ TestDispatcherFuncs/Login
✔️ TestDispatcherFuncs/PurgeAnalyticsData
✔️ TestDispatcherFuncs/Ping
✔️ TestDispatcherFuncs/PurgeAnalyticsDataAggregated
✔️ TestDispatcherFuncs
✔️ TestRetryAndLog
✔️ TestConnectAndLogin/without_retry_-_success
✔️ TestConnectAndLogin/without_retry_-_server_down
✔️ TestConnectAndLogin/with_retry_-_success
✔️ TestConnectAndLogin/with_retry_-_server_down
✔️ TestConnectAndLogin/without_retry_-_fail_first_attempt_-_error
✔️ TestConnectAndLogin/_retry_-_fail_first_attempt_-_success_after
✔️ TestConnectAndLogin
✔️ TestLogzioInit
✔️ TestLogzioDecodeWithDefaults
✔️ TestLogzioDecodeOverrideDefaults
✔️ TestDoAggregatedWritingWithIgnoredAggregations/not_mixed_collection
✔️ TestDoAggregatedWritingWithIgnoredAggregations/mixed_collection
✔️ TestDoAggregatedWritingWithIgnoredAggregations
✔️ TestAggregationTime/create_record_every_60_minutes_-_180_minutes_hitting_the_API
✔️ TestAggregationTime/create_new_record_every_30_minutes_-_120_minutes_hitting_the_API
✔️ TestAggregationTime/create_new_record_every_15_minutes_-_90_minutes_hitting_the_API
✔️ TestAggregationTime/create_new_record_every_7_minutes_-_28_minutes_hitting_the_API
✔️ TestAggregationTime/create_new_record_every_3_minutes_-_24_minutes_hitting_the_API
✔️ TestAggregationTime/create_new_record_every_minute_-_10_minutes_hitting_the_API
✔️ TestAggregationTime
✔️ TestMongoAggregatePump_divideAggregationTime/divide_60_minutes_(even_number)
✔️ TestMongoAggregatePump_divideAggregationTime/divide_15_minutes_(odd_number)
✔️ TestMongoAggregatePump_divideAggregationTime/divide_1_minute_(must_return_1)
✔️ TestMongoAggregatePump_divideAggregationTime
✔️ TestMongoAggregatePump_SelfHealing
✔️ TestMongoAggregatePump_ShouldSelfHeal/random_error
✔️ TestMongoAggregatePump_ShouldSelfHeal/CosmosSizeError_error
✔️ TestMongoAggregatePump_ShouldSelfHeal/StandardMongoSizeError_error
✔️ TestMongoAggregatePump_ShouldSelfHeal/DocDBSizeError_error
✔️ TestMongoAggregatePump_ShouldSelfHeal/StandardMongoSizeError_error_but_self_healing_disabled
✔️ TestMongoAggregatePump_ShouldSelfHeal/StandardMongoSizeError_error_but_aggregation_time_is_1
✔️ TestMongoAggregatePump_ShouldSelfHeal
✔️ TestMongoAggregatePump_StoreAnalyticsPerMinute
✔️ TestDecodeRequestAndDecodeResponseMongoAggregate
✔️ TestDefaultDriverAggregate
✔️ TestMongoSelectivePump_AccumulateSet/should_accumulate_all_records
✔️ TestMongoSelectivePump_AccumulateSet/should_accumulate_0_records_because_maxDocumentSizeBytes_<_1024
✔️ TestMongoSelectivePump_AccumulateSet/should_accumulate_0_records_because_the_length_of_the_data_(1500)_is_>_1024
✔️ TestMongoSelectivePump_AccumulateSet/should_accumulate_99_records_because_one_of_the_100_records_exceeds_the_limit_of_1024
✔️ TestMongoSelectivePump_AccumulateSet
✔️ TestConnection/should_connect_to_mgo
✔️ TestConnection
✔️ TestEnsureIndexes/should_ensure_indexes
✔️ TestEnsureIndexes/should_ensure_one_less_index_using_CosmosDB
✔️ TestEnsureIndexes/should_not_ensure_indexes_because_of_omit_index_creation_setting
✔️ TestEnsureIndexes/should_not_ensure_indexes_because_the_collection_already_exists
✔️ TestEnsureIndexes
✔️ TestWriteData/should_write_3_records
✔️ TestWriteData/should_not_write_data_because_the_collection_does_not_exist
✔️ TestWriteData
✔️ TestWriteUptimeDataMongoSelective/write_3_uptime_records
✔️ TestWriteUptimeDataMongoSelective/write_6_uptime_records
✔️ TestWriteUptimeDataMongoSelective/length_of_records_is_0
✔️ TestWriteUptimeDataMongoSelective
✔️ TestDecodeRequestAndDecodeResponseMongoSelective
✔️ TestDefaultDriverSelective
✔️ TestMongoPump_capCollection_Enabled
✔️ TestMongoPumpOmitIndexCreation/omitting_index_creation_-_StandardMongo
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_already_exists_-_StandardMongo
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_doesn't_exists_-_StandardMongo
✔️ TestMongoPumpOmitIndexCreation/omitting_index_creation_-_DocDB
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_already_exists_-_DocDB
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_doesn't_exists_-_DocDB
✔️ TestMongoPumpOmitIndexCreation/omitting_index_creation_-_CosmosDB
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_already_exists_-_CosmosDB
✔️ TestMongoPumpOmitIndexCreation/not_omitting_index_creation_but_mongo_collection_doesn't_exists_-_CosmosDB
✔️ TestMongoPumpOmitIndexCreation
✔️ TestMongoPump_capCollection_Exists
✔️ TestMongoPump_capCollection_SensibleDefaultSize
✔️ TestMongoPump_capCollection_OverrideSize
✔️ TestMongoPump_AccumulateSet/should_accumulate_all_records
✔️ TestMongoPump_AccumulateSet/should_include_all_graph_analytics_records
✔️ TestMongoPump_AccumulateSet
✔️ TestMongoPump_AccumulateSetIgnoreDocSize
✔️ TestGetBlurredURL/mongodb:username:password@
✔️ TestGetBlurredURL/no_user_or_password
✔️ TestGetBlurredURL/no_mongodb://_but_user_and_password
✔️ TestGetBlurredURL/complex_url
✔️ TestGetBlurredURL/complex_password_username
✔️ TestGetBlurredURL/cluster
✔️ TestGetBlurredURL/cluster+complex_password_username
✔️ TestGetBlurredURL/CosmoDB
✔️ TestGetBlurredURL/DocDB
✔️ TestGetBlurredURL
✔️ TestWriteUptimeData/write_3_uptime_records
✔️ TestWriteUptimeData/write_6_uptime_records
✔️ TestWriteUptimeData/length_of_records_is_0
✔️ TestWriteUptimeData
✔️ TestDecodeRequestAndDecodeResponseMongo
✔️ TestDefaultDriver
✔️ TestMongoPump_WriteData/should_write_all_records
✔️ TestMongoPump_WriteData/should_write_graph_records_as_well
✔️ TestMongoPump_WriteData
✔️ TestPrometheusInitVec/Counter_metric
✔️ TestPrometheusInitVec/Histogram_metric
✔️ TestPrometheusInitVec/Histogram_metric_without_type_label_set
✔️ TestPrometheusInitVec/RandomType_metric
✔️ TestPrometheusInitVec
✔️ TestPrometheusInitCustomMetrics/no_custom_metrics
✔️ TestPrometheusInitCustomMetrics/single_custom_metrics
✔️ TestPrometheusInitCustomMetrics/multiple_custom_metrics
✔️ TestPrometheusInitCustomMetrics/multiple_custom_metrics_with_histogram
✔️ TestPrometheusInitCustomMetrics/one_with_error
✔️ TestPrometheusInitCustomMetrics
✔️ TestInitCustomMetricsEnv/valid_custom_-_coutner_metric
✔️ TestInitCustomMetricsEnv/valid_customs_-_counter_metric
✔️ TestInitCustomMetricsEnv/valid_customs_-_histogram_metric
✔️ TestInitCustomMetricsEnv/invalid_custom_metric_format
✔️ TestInitCustomMetricsEnv/invalid_custom_metric_input
✔️ TestInitCustomMetricsEnv/empty_custom_metric_input
✔️ TestInitCustomMetricsEnv
✔️ TestPrometheusGetLabelsValues/tree_valid_labels
✔️ TestPrometheusGetLabelsValues/two_valid_labels_-_one_wrong
✔️ TestPrometheusGetLabelsValues/situational_labels_names_
✔️ TestPrometheusGetLabelsValues
✔️ TestPrometheusCounterMetric/HTTP_status_codes_per_API
✔️ TestPrometheusCounterMetric/HTTP_status_codes_per_API_path_and_method
✔️ TestPrometheusCounterMetric/HTTP_status_codes_per_API_key
✔️ TestPrometheusCounterMetric/HTTP_status_codes_per_oAuth_client_id
✔️ TestPrometheusCounterMetric/HTTP_status_codes_per_api_name_and_key_alias
✔️ TestPrometheusCounterMetric
✔️ TestPrometheusHistogramMetric/Total_Latency_per_API_-_aggregated_observations_true
✔️ TestPrometheusHistogramMetric/_Total_Latency_per_API_-_aggregated_observations_false
✔️ TestPrometheusHistogramMetric/_Total_Latency_per_API_ID,_Method_and_Path_-_aggregated_observations_true
✔️ TestPrometheusHistogramMetric
✔️ TestPrometheusCreateBasicMetrics
✔️ TestPrometheusEnsureLabels/histogram_type,_type_label_should_be_added_if_not_exist
✔️ TestPrometheusEnsureLabels/counter_type,_type_label_should_not_be_added
✔️ TestPrometheusEnsureLabels/histogram_type,_type_label_should_not_be_repeated_and_in_the_1st_position
✔️ TestPrometheusEnsureLabels/histogram_type,_type_label_should_not_be_repeated_(even_if_user_repeated_it),_and_always_in_the_1st_position
✔️ TestPrometheusEnsureLabels
✔️ TestPrometheusDisablingMetrics
✔️ TestGetPumpByName
✔️ TestResurfaceInit
✔️ TestResurfaceWriteData
✔️ TestResurfaceWriteCustomFields
✔️ TestResurfaceWriteChunkedResponse
✔️ TestResurfaceSkipWrite
✔️ TestSplunkInit
✔️ Test_SplunkWriteData
✔️ Test_SplunkWriteDataBatch
✔️ TestSQLAggregateInit
✔️ TestSQLAggregateWriteData_Sharded/records_day_1
✔️ TestSQLAggregateWriteData_Sharded/records_day_2
✔️ TestSQLAggregateWriteData_Sharded/records_day_3
✔️ TestSQLAggregateWriteData_Sharded
✔️ TestSQLAggregateWriteData/first
✔️ TestSQLAggregateWriteData/second
✔️ TestSQLAggregateWriteData/third
✔️ TestSQLAggregateWriteData/fourth
✔️ TestSQLAggregateWriteData
✔️ TestSQLAggregateWriteDataValues/only_one_writing
✔️ TestSQLAggregateWriteDataValues/two_writings_-_on_conflict
✔️ TestSQLAggregateWriteDataValues
✔️ TestDecodeRequestAndDecodeResponseSQLAggregate
✔️ TestSQLInit
✔️ TestSQLWriteData/table_records
✔️ TestSQLWriteData/table_content
✔️ TestSQLWriteData
✔️ TestSQLWriteDataSharded/shard_1
✔️ TestSQLWriteDataSharded/shard_2
✔️ TestSQLWriteDataSharded/shard_3
✔️ TestSQLWriteDataSharded
✔️ TestSQLWriteUptimeData/first
✔️ TestSQLWriteUptimeData/second
✔️ TestSQLWriteUptimeData/third
✔️ TestSQLWriteUptimeData/fourth
✔️ TestSQLWriteUptimeData
✔️ TestSQLWriteUptimeDataSharded/records_day_1
✔️ TestSQLWriteUptimeDataSharded/records_day_2
✔️ TestSQLWriteUptimeDataSharded/records_day_3
✔️ TestSQLWriteUptimeDataSharded
✔️ TestSQLWriteUptimeDataAggregations
✔️ TestDecodeRequestAndDecodeResponseSQL
✔️ TestGetMappings/disabled_separated_methods
✔️ TestGetMappings/enabled_separated_methods
✔️ TestGetMappings
✔️ TestChunkString
✔️ TestGetAnalyticsRecordMeasuresAndDimensions
✔️ TestGetAnalyticsRecordMeasureWithRawResponse

✔️ serializer.xml

9 tests were completed in 2s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/serializer 9✔️ 65ms

✔️ github.com/TykTechnologies/tyk-pump/serializer

✔️ TestSerializer_Encode/msgpack
✔️ TestSerializer_Encode/protobuf
✔️ TestSerializer_Encode
✔️ TestSerializer_Decode/msgpack
✔️ TestSerializer_Decode/protobuf
✔️ TestSerializer_Decode
✔️ TestSerializer_GetSuffix/msgpack
✔️ TestSerializer_GetSuffix/protobuf
✔️ TestSerializer_GetSuffix

✔️ server.xml

No tests found

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/server 0ms

✔️ storage.xml

30 tests were completed in 799ms with 30 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump/storage 30✔️ 52ms

✔️ github.com/TykTechnologies/tyk-pump/storage

✔️ TestRedisAddressConfiguration/Host_but_no_port
✔️ TestRedisAddressConfiguration/Port_but_no_host
✔️ TestRedisAddressConfiguration/addrs_parameter_should_have_precedence
✔️ TestRedisAddressConfiguration/Default_addresses
✔️ TestRedisAddressConfiguration
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four_five]_0}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four_five]_1}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four_five]_2}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet/in:_{[one_two_three_four_five]_3}
✔️ TestRedisClusterStorageManager_GetAndDeleteSet

✔️ tyk-pump.xml

36 tests were completed in 148s with 36 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/TykTechnologies/tyk-pump 36✔️ 126ms

✔️ github.com/TykTechnologies/tyk-pump

✔️ TestToUpperPumps
✔️ TestLoadExampleConf
✔️ TestConfigEnv
✔️ TestIgnoreConfig/Ignoring_the_config_file
✔️ TestIgnoreConfig/Not_ignoring_the_config_file
✔️ TestIgnoreConfig/Environment_variable_not_set
✔️ TestIgnoreConfig/Config_file_does_not_exist
✔️ TestIgnoreConfig
✔️ TestFilterData
✔️ TestTrimData/not_set/global_config
✔️ TestTrimData/not_set/pump_config
✔️ TestTrimData/not_set
✔️ TestTrimData/set_smaller/global_config
✔️ TestTrimData/set_smaller/pump_config
✔️ TestTrimData/set_smaller
✔️ TestTrimData/set_bigger/global_config
✔️ TestTrimData/set_bigger/pump_config
✔️ TestTrimData/set_bigger
✔️ TestTrimData
✔️ TestOmitDetailsFilterData
✔️ TestWriteDataWithFilters/skip_response_code_200
✔️ TestWriteDataWithFilters/api_ids_api111_+_org_ids_123_+_responseCode_200_filters
✔️ TestWriteDataWithFilters/response_codes_200
✔️ TestWriteDataWithFilters/no_filter_-_all_records
✔️ TestWriteDataWithFilters/api_ids_api123_+_org_ids_123_+_responseCode_200_filters
✔️ TestWriteDataWithFilters
✔️ TestShutdown
✔️ TestIgnoreFieldsFilterData/ignore_1_field
✔️ TestIgnoreFieldsFilterData/ignore_2_fields
✔️ TestIgnoreFieldsFilterData/invalid_field_-_log_error_must_be_shown
✔️ TestIgnoreFieldsFilterData
✔️ TestDecodedKey/Decode_RESPONSE_&_REQUEST
✔️ TestDecodedKey/Decode_RESPONSE
✔️ TestDecodedKey/Decode_REQUEST
✔️ TestDecodedKey/Decode_NONE
✔️ TestDecodedKey