diff --git a/source/client/client.cc b/source/client/client.cc index 174e9250b..19e11b29e 100644 --- a/source/client/client.cc +++ b/source/client/client.cc @@ -86,7 +86,7 @@ bool Main::run() { auto formatter = output_formatter_factory.create(options_->outputFormat()); absl::StatusOr formatted_proto = formatter->formatProto(output_collector.toProto()); if (!formatted_proto.ok()) { - ENVOY_LOG(error, "An error occured while formatting proto"); + ENVOY_LOG(error, "An error occurred while formatting proto"); result = false; } else { std::cout << *formatted_proto; diff --git a/test/sink/sink_service_test.cc b/test/sink/sink_service_test.cc index 58466b6a1..e6512d3fa 100644 --- a/test/sink/sink_service_test.cc +++ b/test/sink/sink_service_test.cc @@ -189,7 +189,7 @@ TEST_P(SinkServiceTest, ResultWriteFailure) { .WillOnce(testing::DoAll(Invoke([¬ification]() { notification.Notify(); }), Return(std::vector{{}, {}}))); EXPECT_TRUE(reader_writer->Write(request_, {})); - // Wait for the expected invokation to avoid a race with test execution end. + // Wait for the expected invocation to avoid a race with test execution end. notification.WaitForNotification(); context_.TryCancel(); }