Skip to content
Closed
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
1 change: 1 addition & 0 deletions source/client/client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ bool Main::run() {
*options_, dns_resolver_factory, std::move(typed_dns_resolver_config), time_system);
if (!process_or_status.ok()) {
ENVOY_LOG(error, "Unable to create ProcessImpl: {}", process_or_status.status().ToString());
Envoy::Network::DnsResolverFactory::terminateFactories();
return false;
}
process = std::move(*process_or_status);
Expand Down
1 change: 1 addition & 0 deletions source/client/process_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ void ProcessImpl::shutdown() {
}
tls_.shutdownThread();
dispatcher_->shutdown();
Envoy::Network::DnsResolverFactory::terminateFactories();
shutdown_ = true;
}

Expand Down
1 change: 1 addition & 0 deletions source/client/service_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void ServiceImpl::handleExecutionRequest(const nighthawk::client::ExecutionReque
response.mutable_error_detail()->set_message(
fmt::format("Unable to create ProcessImpl: {}", process_or_status.status().ToString()));
writeResponse(response);
Envoy::Network::DnsResolverFactory::terminateFactories();
return;
}
ProcessPtr process = std::move(*process_or_status);
Expand Down