Skip to content

Fix heisenbug #5027

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 18, 2021
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
1 change: 1 addition & 0 deletions ansible/roles/nginx/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ http {
{# needed to enable keepalive to upstream controllers #}
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffers 16 4k;

{% if controller.protocol == 'https' %}
proxy_ssl_session_reuse on;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ class ActionLimitsTests extends TestHelpers with WskTestHelpers with WskActorSys
}

for (a <- 1 to 10) {
val run = wsk.action.invoke(name, Map("payload" -> "128".toJson))
val run = wsk.action.invoke(name, Map("payload" -> "128".toJson), blocking = true)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is supposed to reuse a container, so I change them to blocking calls.

withActivation(wsk.activation, run) { response =>
response.response.status shouldBe "success"
response.response.result shouldBe Some(JsObject("msg" -> "OK, buffer of size 128 MB has been filled.".toJson))
Expand Down
2 changes: 1 addition & 1 deletion tests/src/test/scala/services/HeadersTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class HeadersTests extends FlatSpec with Matchers with ScalaFutures with WskActo
Http().singleRequest(httpRequest, connectionContext = connectionContext)
}

implicit val config = PatienceConfig(10 seconds, 0 milliseconds)
implicit val config = PatienceConfig(10 seconds, 100 milliseconds)

val basePath = Path("/api/v1")
implicit val wskprops = WskProps()
Expand Down