Change in ovirt-engine[master]: engine: Fix FileServletTest

vszocs at redhat.com vszocs at redhat.com
Tue Nov 26 17:30:32 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Alexander Wels <awels at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Einav Cohen <ecohen at redhat.com>
Gerrit-Reviewer: Greg Sheremeta <gshereme at redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa <gustavo.pedrosa at eldorado.org.br>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list