From 10e212f1bd0ed82e9f64a992d9137646e24639ee Mon Sep 17 00:00:00 2001 From: Marc-Andre Laperle Date: Sat, 22 Oct 2016 01:08:13 -0400 Subject: [PATCH] lttng: Fix test when in the presence of long workspace path LTTngServiceMiTest validated against the old MI XSD which doesn't allow sessions paths longer than 255 characters. When the workspace of the test is too long, this fails. The test doesn't really need a variable and can be hard-coded to any path. So this patch removes the use of the workspace variable for this case. See also bug 490557. Change-Id: I382da2449c485e828c62d4ef73e3baf75e438374 Signed-off-by: Marc-Andre Laperle Reviewed-on: https://git.eclipse.org/r/83737 Reviewed-by: Hudson CI Reviewed-by: Jonathan Rajotte Julien Reviewed-by: Alexandre Montplaisir --- .../testfiles/LTTngServiceMiTest.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg b/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg index 972a5b5e38..19a812708c 100644 --- a/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg +++ b/lttng/org.eclipse.tracecompass.lttng2.control.ui.tests/testfiles/LTTngServiceMiTest.cfg @@ -2424,7 +2424,7 @@ lttng --mi xml list mysession mysession - ${workspace}/lttng-traces/mysession-20160801-150625 + /home/user/lttng-traces/mysession-20160801-150625 false 0 0 @@ -2613,7 +2613,7 @@ lttng --mi xml list mysession mysession - ${workspace}/lttng-traces/mysession-20160808-130831 + /home/user/lttng-traces/mysession-20160808-130831 false 0 0 @@ -2818,7 +2818,7 @@ lttng --mi xml list mysession mysession - ${workspace}/lttng-traces/mysession-20160811-113341 + /home/user/lttng-traces/mysession-20160811-113341 false 0 0 @@ -2942,7 +2942,7 @@ lttng --mi xml list mysession2 mysession2 - ${workspace}/lttng-traces/mysession2-20160621-125643 + /home/user/lttng-traces/mysession2-20160621-125643 false 0 0 @@ -3025,7 +3025,7 @@ lttng --mi xml list mysession2 mysession2 - ${workspace}/lttng-traces/mysession2-20160621-125933 + /home/user/lttng-traces/mysession2-20160621-125933 false 0 0 @@ -3108,7 +3108,7 @@ lttng --mi xml list mysession2 mysession2 - ${workspace}/lttng-traces/mysession2-20160630-171241 + /home/user/lttng-traces/mysession2-20160630-171241 false 0 0 -- 2.34.1