Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .azure-pipelines/pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -102,6 +119,7 @@ stages:
- stage: release
dependsOn:
- "clang_tidy"
- "test_gcc"
- "sanitizers"
- "coverage"
condition: eq(variables['PostSubmit'], true)
Expand Down
4 changes: 2 additions & 2 deletions source/client/service_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<Envoy::Logger::Context> logging_context_;
std::shared_ptr<Envoy::ProcessWide> process_wide_;
Envoy::Event::RealTimeSystem time_system_; // NO_CHECK_FORMAT(real_time)
Envoy::Thread::MutexBasicLockable log_lock_;
grpc::ServerReaderWriter<nighthawk::client::ExecutionResponse,
nighthawk::client::ExecutionRequest>* stream_;
std::future<void> future_;
Expand Down Expand Up @@ -95,8 +95,8 @@ class RequestSourceServiceImpl final
nighthawk::request_source::RequestStreamRequest>* stream) override;

private:
std::unique_ptr<Envoy::Logger::Context> logging_context_;
Envoy::Thread::MutexBasicLockable log_lock_;
std::unique_ptr<Envoy::Logger::Context> logging_context_;
RequestSourcePtr createStaticEmptyRequestSource(const uint32_t amount);
};

Expand Down