Changes between Version 32 and Version 33 of OpenFlow/FOAM/Testing


Ignore:
Timestamp:
07/06/12 16:18:35 (12 years ago)
Author:
Josh Smift
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenFlow/FOAM/Testing

    v32 v33  
    10711071== Automation ==
    10721072
    1073 We have a wrapper script that does all of that automatically, but it's also GPO-only at the moment. For GPO people, it's foam-run-auto-approval-tests, and you run it like this:
    1074 
    1075 {{{
    1076 foam-run-auto-approval-tests $foamserver 0
     1073We have a wrapper script that does all of that automatically, but it's also GPO-only at the moment. For GPO people, it's foam-run-auto-approval-tests, and you can run it like this:
     1074
     1075{{{
     1076foam-run-auto-approval-tests $foamserver 2 |& tee auto-approval-results.txt
     1077grep ERROR auto-approval-results.txt
    10771078}}}
    10781079
    10791080where the first argument is the FOAM server, and the second is the approval mode to test. (You can test an approval mode other than the one that the server is in, if you want to confirm that you get lots of error output when the test results aren't as expected -- it just tells the script what mode to test, it doesn't change anything on the server.)
     1081
     1082The 'grep ERROR' at the end is to find any actual errors (at which point you can go looking in the full log for the details).
    10801083
    10811084You may also want to disable some e-mail notifications temporarily, as above, and re-enable them afterwards; the script doesn't do that for you.