Skip to content

Commit daefc9e

Browse files
committed
More test suite advanced options
1 parent dc0f12e commit daefc9e

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

README_TESTING.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ Currently the `libvirt` provider accepts the following settings:
143143
- `bridge`: the name of a bridge device
144144
- `additional_network`: a network mask for PXE tests
145145
146+
```hcl
146147
libvirt = {
147148
// provider
148149
uri = "qemu:///system"
@@ -151,6 +152,7 @@ libvirt = {
151152
network_name = "default"
152153
additional_network = "192.168.32.0/24"
153154
}
155+
```
154156

155157
The `cucumber_testsuite` module also offers the `use_avahi` and `avahi_reflector` variables, see [README_ADVANCED.md](README_ADVANCED.md) for their meaning.
156158

@@ -192,7 +194,6 @@ module "cucumber_testsuite" {
192194
}
193195
```
194196

195-
196197
## Alternative Portus server
197198

198199
If you want the test suite to use a Portus server, you can specify it with the `portus_uri`, `portus_username`, and `portus_password` variables.
@@ -202,9 +203,23 @@ Example:
202203
```hcl
203204
module "cucumber_testsuite" {
204205
...
205-
portus_uri = "https://url.to.portus:5000/server/to/use"
206+
portus_uri = "uri.of.portus:5000/used"
206207
portus_username = "username"
207208
portus_password = "password"
208209
...
209210
}
210211
```
212+
213+
## HTTP proxy for server
214+
215+
By default, the test suite has the SUSE Manager server do its HTTP requests directly on the internet. However, you may change this by using `server_http_proxy` variable, so the requests go through some squid proxy.
216+
217+
For example:
218+
219+
```hcl
220+
module "cucumber_testsuite" {
221+
...
222+
server_http_proxy = "name.of.proxy:3128"
223+
...
224+
}
225+
```

0 commit comments

Comments
 (0)