Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wiki:running_the_api_tests [2017/06/22 15:46] – [Manual testing with oardocker] neyronwiki: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:docker 
 +</code> 
 +or to get access to privileged commands 
 +<code bash> 
 +USER=oar:oar 
 +</code> 
 + 
 +Then set the URL API:
   * from outside oardocker containers   * from outside oardocker containers
 <code bash> <code bash>
-OARAPI=http://docker:docker@localhost:46668/oarapi-priv+OARAPI=http://$USER@localhost:46668/oarapi-priv
 </code> </code>
   * from inside the oardocker frontend container   * from inside the oardocker frontend container
 <code bash> <code bash>
-OARAPI=http://docker:docker@localhost:6668/oarapi-priv+OARAPI=http://$USER@localhost:6668/oarapi-priv
 </code> </code>
  
Line 43: Line 52:
 </code> </code>
      
 +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:
wiki/running_the_api_tests.txt · Last modified: 2017/06/30 16:49 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki