commit | b7069879b8d370826f35166a80fb2b2016f54aea | [log] [tgz] |
---|---|---|
author | Michael Johnson <johnsomor@gmail.com> | Tue Jan 09 17:15:31 2018 -0800 |
committer | Michael Johnson <johnsomor@gmail.com> | Tue Jan 09 17:15:56 2018 -0800 |
tree | 86a09dcd74f9e2b2b2fc99a1ec83fa952311daa8 | |
parent | 2a69ad079e515ce0418845ca7472ce2e32183c8d [diff] |
Fix a typo in the test HTTP server The test HTTP server code we use for testing had a typo where the the cookie inserted was "JESSIONID" instead of "JSESSIONID". This led to confusion and failing tempest tests. This patch changes it to "JSESSIONID" to avoid confusion. Change-Id: I7d6387c71ed96edead3a6a2338b0c78250d4c50d
diff --git a/octavia_tempest_plugin/contrib/httpd/README.md b/octavia_tempest_plugin/contrib/httpd/README.md index a627491..b34d48a 100644 --- a/octavia_tempest_plugin/contrib/httpd/README.md +++ b/octavia_tempest_plugin/contrib/httpd/README.md
@@ -2,5 +2,5 @@ ```sh sudo apt-get install -y golang -go build -ldflags "-w -linkmode external -extldflags -static" -o httpd.bin httpd.go +go build -ldflags "-s -w -linkmode external -extldflags -static" -o httpd.bin httpd.go ```
diff --git a/octavia_tempest_plugin/contrib/httpd/httpd.bin b/octavia_tempest_plugin/contrib/httpd/httpd.bin index fbae460..b55cc4f 100755 --- a/octavia_tempest_plugin/contrib/httpd/httpd.bin +++ b/octavia_tempest_plugin/contrib/httpd/httpd.bin Binary files differ
diff --git a/octavia_tempest_plugin/contrib/httpd/httpd.go b/octavia_tempest_plugin/contrib/httpd/httpd.go index db47242..58d66f2 100644 --- a/octavia_tempest_plugin/contrib/httpd/httpd.go +++ b/octavia_tempest_plugin/contrib/httpd/httpd.go
@@ -95,7 +95,7 @@ flag.Parse() resp = fmt.Sprintf("%s", *idPtr) - sess_cookie.Name = "JESSIONID" + sess_cookie.Name = "JSESSIONID" sess_cookie.Value = *idPtr http.HandleFunc("/", root_handler)