diff --git a/.azure-pipelines/pipelines.yml b/.azure-pipelines/pipelines.yml index 5df0012b3..5b2802e32 100644 --- a/.azure-pipelines/pipelines.yml +++ b/.azure-pipelines/pipelines.yml @@ -61,6 +61,23 @@ stages: parameters: ciTarget: $(CI_TARGET) +- stage: test_gcc + dependsOn: ["check"] + pool: "x64-large" + jobs: + - job: test_gcc + displayName: "do_ci.sh" + strategy: + maxParallel: 1 + matrix: + test_gcc: + CI_TARGET: "test_gcc" + timeoutInMinutes: 120 + steps: + - template: bazel.yml + parameters: + ciTarget: $(CI_TARGET) + - stage: sanitizers dependsOn: ["test"] pool: "x64-large" @@ -102,6 +119,7 @@ stages: - stage: release dependsOn: - "clang_tidy" + - "test_gcc" - "sanitizers" - "coverage" condition: eq(variables['PostSubmit'], true) diff --git a/source/client/service_impl.h b/source/client/service_impl.h index 21dd7241d..dd79cc776 100644 --- a/source/client/service_impl.h +++ b/source/client/service_impl.h @@ -55,10 +55,10 @@ class ServiceImpl final : public nighthawk::client::NighthawkService::Service, void writeResponse(const nighthawk::client::ExecutionResponse& response); grpc::Status finishGrpcStream(const bool success, absl::string_view description = ""); + Envoy::Thread::MutexBasicLockable log_lock_; std::unique_ptr logging_context_; std::shared_ptr process_wide_; Envoy::Event::RealTimeSystem time_system_; // NO_CHECK_FORMAT(real_time) - Envoy::Thread::MutexBasicLockable log_lock_; grpc::ServerReaderWriter* stream_; std::future future_; @@ -95,8 +95,8 @@ class RequestSourceServiceImpl final nighthawk::request_source::RequestStreamRequest>* stream) override; private: - std::unique_ptr logging_context_; Envoy::Thread::MutexBasicLockable log_lock_; + std::unique_ptr logging_context_; RequestSourcePtr createStaticEmptyRequestSource(const uint32_t amount); };