Vojtech Szocs has submitted this change and it was merged.
Change subject: engine: Fix FileServletTest
......................................................................
engine: Fix FileServletTest
- A user in engine-devel reported this unit test failing
and we figured out it was because it was trying to read
a file from the environment which was bigger than expected
Fixed the test to read a file from the test resources
instead.
Change-Id: I21794f1838e6161c422561f5023999d0e37f6a71
Signed-off-by: Alexander Wels <awels(a)redhat.com>
---
M
backend/manager/modules/utils/src/test/java/org/ovirt/engine/core/utils/servlet/FileServletTest.java
A
backend/manager/modules/utils/src/test/resources/org/ovirt/engine/core/utils/servlet/small_file.txt
2 files changed, 10 insertions(+), 5 deletions(-)
Approvals:
Vojtech Szocs: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/21509
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I21794f1838e6161c422561f5023999d0e37f6a71
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Alexander Wels <awels(a)redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen(a)redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme(a)redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa <gustavo.pedrosa(a)eldorado.org.br>
Gerrit-Reviewer: Vojtech Szocs <vszocs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server