[tracker/wip/carlosg/test-order-fix] tests: Specify missing order in test
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/test-order-fix] tests: Specify missing order in test
- Date: Sun, 3 Jul 2022 20:43:12 +0000 (UTC)
commit f32572987beac35ac5b1a9c1d069334bf8e49d10
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Jul 3 22:32:23 2022 +0200
tests: Specify missing order in test
The order of the returned resultset was implicit and up to SQLite, but
the order for this test started changing starting with SQLite 3.39.0.
Make the order explicit, so that SQLite implementation details don't
leak up here.
Closes: https://gitlab.gnome.org/GNOME/tracker/-/issues/370
tests/core/algebra/filter-scope-1.rq | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/tests/core/algebra/filter-scope-1.rq b/tests/core/algebra/filter-scope-1.rq
index 7ee5a24ad..a8cd89ca9 100644
--- a/tests/core/algebra/filter-scope-1.rq
+++ b/tests/core/algebra/filter-scope-1.rq
@@ -7,3 +7,4 @@ SELECT ?v ?w ?v2
OPTIONAL { :x :p ?v2 FILTER(?v = 1) }
}
}
+ORDER BY ?v ?w ?v2
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]