This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:running_the_api_tests [2017/06/22 15:46] – [Manual testing with oardocker] neyron | wiki:running_the_api_tests [2017/06/23 00:35] – [Manual testing with oardocker] neyron | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Manual testing with oardocker ===== | ====== Manual testing with oardocker ===== | ||
- | The URL API when using oardocker is: | + | Set user: |
+ | <code bash> | ||
+ | USER=docker: | ||
+ | </ | ||
+ | or to get access to privileged commands | ||
+ | <code bash> | ||
+ | USER=oar: | ||
+ | </ | ||
+ | |||
+ | Then set the URL API: | ||
* from outside oardocker containers | * from outside oardocker containers | ||
<code bash> | <code bash> | ||
- | OARAPI=http:// | + | OARAPI=http:// |
</ | </ | ||
* from inside the oardocker frontend container | * from inside the oardocker frontend container | ||
<code bash> | <code bash> | ||
- | OARAPI=http:// | + | OARAPI=http:// |
</ | </ | ||
Line 43: | Line 52: | ||
</ | </ | ||
| | ||
+ | WARNING: for the Rspec tests to success, OAR must have at least 4 * 2 cores. | ||
====== Rspec tests in oar-vagrant ====== | ====== Rspec tests in oar-vagrant ====== | ||
Follow the instructions from the [[oar-vagrant]] page. Set up a 2 nodes cluster with: | Follow the instructions from the [[oar-vagrant]] page. Set up a 2 nodes cluster with: |