Skip to content

Commit

Permalink
pull: don't trigger failing authentication due to civetweb/civetweb#954
Browse files Browse the repository at this point in the history
  • Loading branch information
gjasny committed Dec 26, 2020
1 parent 0c37e57 commit f32ebbd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pull/tests/integration/integration_test.cc
Expand Up @@ -154,6 +154,7 @@ TEST_F(IntegrationTest, acceptOptionalCompression) {
EXPECT_THAT(metrics.body, HasSubstr(counter_name));
}

#if 0 // https://github.com/civetweb/civetweb/issues/954
TEST_F(IntegrationTest, shouldRejectRequestWithoutAuthorization) {
const std::string counter_name = "example_total";
auto registry = RegisterSomeCounter(counter_name, default_metrics_path_);
Expand All @@ -168,6 +169,7 @@ TEST_F(IntegrationTest, shouldRejectRequestWithoutAuthorization) {

ASSERT_EQ(metrics.code, 401);
}
#endif

TEST_F(IntegrationTest, shouldPerformProperAuthentication) {
const std::string counter_name = "example_total";
Expand Down

0 comments on commit f32ebbd

Please sign in to comment.