Skip to content
Snippets Groups Projects
  • Jeff Peeler's avatar
    78b27e3e
    Clean up the image functional test · 78b27e3e
    Jeff Peeler authored
    
    1. Move setup_docker.sh to tools directory
    
    2. Make a setup_gate.sh that installs necessary packages including
       docker and starts docker.
    
    3. Add logging output.
    
    4. Add default test timeout of 2 hours.
    
    5. Add user to the docker group before running test cases.
    
    6. Run image build as dockerroot group.
    
    This patch has to be one commit to fix the gate in one go.
    
    Co-Authored-By: default avatarSteven Dake <stdake@cisco.com>
    
    Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
    78b27e3e
    History
    Clean up the image functional test
    Jeff Peeler authored
    
    1. Move setup_docker.sh to tools directory
    
    2. Make a setup_gate.sh that installs necessary packages including
       docker and starts docker.
    
    3. Add logging output.
    
    4. Add default test timeout of 2 hours.
    
    5. Add user to the docker group before running test cases.
    
    6. Run image build as dockerroot group.
    
    This patch has to be one commit to fix the gate in one go.
    
    Co-Authored-By: default avatarSteven Dake <stdake@cisco.com>
    
    Change-Id: I83f3cdb1dabf0dfface589c581cb22c155467acc
.testr.conf 338 B
[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
             OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
             OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-7200} \
             ${PYTHON:-python} -m subunit.run discover ${OS_TEST_PATH:-./tests} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list