unit tests for invalid args skipped
Bug #1634403 reported by
Kota Tsuyuzaki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
liberasurecode |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
current liberasurecode unit test runs only when the args is provided [1]. However, most of invalid args unit tests doesn't take the args[2] and it uses EC_BACKENDS_MAX[3] which causes NULL args that makes the test skipping.
1: https:/
2: https:/
3: https:/
Changed in liberasurecode: | |
status: | New → Confirmed |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/387879 /git.openstack. org/cgit/ openstack/ liberasurecode/ commit/ ?id=e8b5a64d8d6 8c6f379fcd8aa69 d934682b9e1a25
Committed: https:/
Submitter: Jenkins
Branch: master
commit e8b5a64d8d68c6f 379fcd8aa69d934 682b9e1a25
Author: Kota Tsuyuzaki <email address hidden>
Date: Tue Oct 18 02:10:01 2016 -0700
Fix liberasurecode skipping a bunch of invalid_args tests
Since the commit a01b1818c874a65 d1d1fb8f11ea441 e9d3e18771, create_ backend_ invalid_ args). That is the worse because we have not
we have been to able to test some parameters for each tests.
However, instead, the NULL which means the end of the test parameters
causes skipping a bunch of unit tests which doesn't take args (e.g.
test_
tested anymore for the tests since the commit.
This patch fixes to make it tested and more, fix a minor bug for a
case that corrupted header incomming to get_metadata.
Closes-Bug: #1634403 d0c7d1ab94b8da1 ebfd9047d74
Change-Id: Ib99a8aa6032f02