[sheepdog] [sheepdog/sheepdog] 248966: tests: Modify functional tests

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Aug 15 10:02:24 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: 248966ab5c335ef9f047231e1030c76859239901
      https://github.com/sheepdog/sheepdog/commit/248966ab5c335ef9f047231e1030c76859239901
  Author: matsu777 <matsumura.seiji at lab.ntt.co.jp>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    M tests/functional/056
    M tests/functional/HOWTO
    M tests/functional/group

  Log Message:
  -----------
  tests: Modify functional tests

There are 3 topics about this commit:
1. No.056 has been modified because v-node was not calculated correctly.

2. Add sentence about required package in the file "HOWTO".
*TODO: It's not perfect. Add more required packages if any.

3. Comment out unstable tests for testing automatically in the file "group".
"Unstable" means that the test sometimes passes and sometimes not.
If comment out "#" is removed, the test comes back easily.

Signed-off-by: Seiji Matsumura <matsumura.seiji at lab.ntt.co.jp>


  Commit: 9f4bc4e4960ba8be62dc0a1b2e2f6460ea8f7204
      https://github.com/sheepdog/sheepdog/commit/9f4bc4e4960ba8be62dc0a1b2e2f6460ea8f7204
  Author: matsu777 <matsumura.seiji at lab.ntt.co.jp>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    A tests/unit/README.md
    M tests/unit/sheep/test_hash.c
    M tests/unit/sheep/test_vdi.c

  Log Message:
  -----------
  tests: Modify unit tests

There are 3 topics about this commit:
1. Add README.md to write how to execute unit tests.

2. "test_hash" has been modified to avoid stack overflow.

3. "test_vdi" has been modified because vdi's state was not cleared from the state of the previous test.

Signed-off-by: Seiji Matsumura <matsumura.seiji at lab.ntt.co.jp>


  Commit: d40096fa0f937a7efc1bc1316f257d0313656eb4
      https://github.com/sheepdog/sheepdog/commit/d40096fa0f937a7efc1bc1316f257d0313656eb4
  Author: matsu777 <matsumura.seiji at lab.ntt.co.jp>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    A tests/script/README.md
    A tests/script/exec_functional
    A tests/script/exec_operation
    A tests/script/exec_unit
    A tests/script/prepare_for_test

  Log Message:
  -----------
  tests: Add scripts for testing automatically
4 scripts and 1 README have been added.

1. prepare_for_test
This file installs some packages which are necessary for buliding sheepdog and excuting tests.
It should runs first.

2. exec_unit
This file executes unit tests automatically.

3. exec_operation
This file executes operation tests automatically.

4. exec_functional
This file executes functional tests automatically.

5. README.md
This file explains how to run script files in this directory.

Signed-off-by: Seiji Matsumura <matsumura.seiji at lab.ntt.co.jp>


  Commit: 68d3b885c3e04f663880c53ea56c874f2fd0414d
      https://github.com/sheepdog/sheepdog/commit/68d3b885c3e04f663880c53ea56c874f2fd0414d
  Author: matsu777 <matsumura.seiji at lab.ntt.co.jp>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    A .travis.yml

  Log Message:
  -----------
  tests: Add configuration file of Travis CI for testing automaticlly when PR comes.

To test automatically when PR comes, one CI service is picked up.
That is Travis CI, which is free for OSS.
This commit has one configuratain file with which Travis CI is able to execute some script's files for testing automatically.
* https://travis-ci.org/

Signed-off-by: Seiji Matsumura <matsumura.seiji at lab.ntt.co.jp>


  Commit: 1a8f59066954fbc2b2f61e3163797f7a7b40225f
      https://github.com/sheepdog/sheepdog/commit/1a8f59066954fbc2b2f61e3163797f7a7b40225f
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2016-08-15 (Mon, 15 Aug 2016)

  Changed paths:
    A .travis.yml
    M tests/functional/056
    M tests/functional/HOWTO
    M tests/functional/group
    A tests/script/README.md
    A tests/script/exec_functional
    A tests/script/exec_operation
    A tests/script/exec_unit
    A tests/script/prepare_for_test
    A tests/unit/README.md
    M tests/unit/sheep/test_hash.c
    M tests/unit/sheep/test_vdi.c

  Log Message:
  -----------
  Merge pull request #298 from sheepdog-tester/auto-test

tests: Create an environment for auto-testing with CI


Compare: https://github.com/sheepdog/sheepdog/compare/fb09655c81d6...1a8f59066954


More information about the sheepdog mailing list