aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/suite_nginx_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/suite_nginx_test.go')
-rw-r--r--extras/hs-test/suite_nginx_test.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/extras/hs-test/suite_nginx_test.go b/extras/hs-test/suite_nginx_test.go
index d8115821000..b61ea6c8b0d 100644
--- a/extras/hs-test/suite_nginx_test.go
+++ b/extras/hs-test/suite_nginx_test.go
@@ -22,15 +22,15 @@ func (s *NginxSuite) SetupSuite() {
func (s *NginxSuite) SetupTest() {
s.skipIfUnconfiguring()
- s.SetupVolumes()
- s.SetupContainers()
+ s.setupVolumes()
+ s.setupContainers()
// Setup test conditions
var startupConfig Stanza
startupConfig.
- NewStanza("session").
- Append("enable").
- Append("use-app-socket-api").Close()
+ newStanza("session").
+ append("enable").
+ append("use-app-socket-api").close()
// ... for proxy
vppProxyContainer := s.getContainerByName(vppProxyContainerName)
@@ -50,8 +50,8 @@ func (s *NginxSuite) SetupTest() {
Proxy string
Server string
}{
- Proxy: clientInterface.Peer().IP4AddressString(),
- Server: serverInterface.IP4AddressString(),
+ Proxy: clientInterface.peer.ip4AddressString(),
+ Server: serverInterface.ip4AddressString(),
}
nginxContainer.createConfig(
"/nginx.conf",