blob: 0c12426a7e39cff4d0cc8f13aa696c7c7830054f [file] [log] [blame]
Young-Seok778e0192013-09-27 15:09:28 -07001<!--
Ian Maxon928bbd12015-09-14 17:12:48 -07002 ! Licensed to the Apache Software Foundation (ASF) under one
3 ! or more contributor license agreements. See the NOTICE file
4 ! distributed with this work for additional information
5 ! regarding copyright ownership. The ASF licenses this file
6 ! to you under the Apache License, Version 2.0 (the
7 ! "License"); you may not use this file except in compliance
8 ! with the License. You may obtain a copy of the License at
9 !
10 ! http://www.apache.org/licenses/LICENSE-2.0
11 !
12 ! Unless required by applicable law or agreed to in writing,
13 ! software distributed under the License is distributed on an
14 ! "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 ! KIND, either express or implied. See the License for the
16 ! specific language governing permissions and limitations
17 ! under the License.
Young-Seok778e0192013-09-27 15:09:28 -070018 !-->
Ian Maxonf18bba22015-08-21 12:35:14 -070019<test-suite xmlns="urn:xml.testframework.asterix.apache.org" ResultOffsetPath="results" QueryOffsetPath="queries" QueryFileExtension=".aql">
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -080020 <test-group name="query_after_restart">
21 <test-case FilePath="query_after_restart">
Abdullah Alamoudi02b35a12016-04-01 18:50:16 +030022 <compilation-unit name="dataset-with-meta-record">
23 <output-dir compare="Text">dataset-with-meta-record</output-dir>
24 </compilation-unit>
25 </test-case>
26 <test-case FilePath="query_after_restart">
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -080027 <compilation-unit name="external_index">
28 <output-dir compare="Text">external_index</output-dir>
29 </compilation-unit>
30 </test-case>
31 </test-group>
Young-Seok778e0192013-09-27 15:09:28 -070032 <test-group name="recover_after_abort">
Pei Li43137a42013-11-22 02:00:26 -080033
Young-Seok778e0192013-09-27 15:09:28 -070034 <test-case FilePath="recover_after_abort">
35 <compilation-unit name="primary_index_only">
36 <output-dir compare="Text">primary_index_only</output-dir>
37 </compilation-unit>
38 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080039
Pei Li7f9246f2013-10-28 02:15:27 -070040 <test-case FilePath="recover_after_abort">
41 <compilation-unit name="primary_plus_default_secondary_index">
42 <output-dir compare="Text">primary_plus_default_secondary_index</output-dir>
43 </compilation-unit>
Young-Seok778e0192013-09-27 15:09:28 -070044 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080045
Pei Licc797aa2013-11-19 18:55:27 -080046 <test-case FilePath="recover_after_abort">
47 <compilation-unit name="primary_plus_rtree_index">
48 <output-dir compare="Text">primary_plus_rtree_index</output-dir>
49 </compilation-unit>
50 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070051
Pei Li7f9246f2013-10-28 02:15:27 -070052 <test-case FilePath="recover_after_abort">
53 <compilation-unit name="primary_plus_keyword_secondary_index">
54 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
55 </compilation-unit>
56 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070057
Pei Li7f9246f2013-10-28 02:15:27 -070058 <test-case FilePath="recover_after_abort">
59 <compilation-unit name="primary_plus_ngram_index">
60 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
61 </compilation-unit>
62 </test-case>
Pei Lidf6d1942013-11-19 00:27:15 -080063
Pei Licc797aa2013-11-19 18:55:27 -080064 <test-case FilePath="recover_after_abort">
Pei Lidf6d1942013-11-19 00:27:15 -080065 <compilation-unit name="primary_plus_multiple_secondary_indices">
66 <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir>
67 </compilation-unit>
68 </test-case>
Pei Li43137a42013-11-22 02:00:26 -080069
buyingyiccd67fe2015-05-19 11:53:39 -070070 <test-case FilePath="recover_after_abort">
71 <compilation-unit name="temp_primary_index_only">
72 <output-dir compare="Text">primary_index_only</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070073 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070074 </compilation-unit>
75 </test-case>
76
77 <test-case FilePath="recover_after_abort">
78 <compilation-unit name="temp_primary_plus_default_secondary_index">
79 <output-dir compare="Text">primary_plus_default_secondary_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070080 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070081 </compilation-unit>
82 </test-case>
83
84 <test-case FilePath="recover_after_abort">
85 <compilation-unit name="temp_primary_plus_rtree_index">
86 <output-dir compare="Text">primary_plus_rtree_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070087 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070088 </compilation-unit>
89 </test-case>
90
91 <test-case FilePath="recover_after_abort">
92 <compilation-unit name="temp_primary_plus_keyword_secondary_index">
93 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -080094 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile in dataverse recovery</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070095 </compilation-unit>
96 </test-case>
Murtadha Hubailc614ce52016-01-11 17:52:56 -080097
buyingyiccd67fe2015-05-19 11:53:39 -070098 <test-case FilePath="recover_after_abort">
99 <compilation-unit name="temp_primary_plus_ngram_index">
100 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700101 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700102 </compilation-unit>
103 </test-case>
104
105 <test-case FilePath="recover_after_abort">
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800106 <compilation-unit name="primary_plus_multiple_secondary_indices"><!-- The only exception here is during the kill command which is in a different JVM, hence not caught -->
buyingyiccd67fe2015-05-19 11:53:39 -0700107 <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800108 <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> -->
buyingyiccd67fe2015-05-19 11:53:39 -0700109 </compilation-unit>
110 </test-case>
Pei Li43137a42013-11-22 02:00:26 -0800111 </test-group>
Pei Li43137a42013-11-22 02:00:26 -0800112
Pei Li1da69fd2013-12-13 09:32:27 -0800113 <test-group name="recovery_ddl">
buyingyiccd67fe2015-05-19 11:53:39 -0700114
Pei Lidc9a9ca2013-10-31 23:47:50 -0700115 <test-case FilePath="recovery_ddl">
116 <compilation-unit name="dataverse_recovery">
117 <output-dir compare="Text">dataverse_recovery</output-dir>
118 </compilation-unit>
119 </test-case>
Pei Libddde502013-11-20 10:54:35 -0800120
Pei Lidc9a9ca2013-10-31 23:47:50 -0700121 <test-case FilePath="recovery_ddl">
122 <compilation-unit name="datatype_recovery">
123 <output-dir compare="Text">datatype_recovery</output-dir>
124 </compilation-unit>
125 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700126
Pei Lidc9a9ca2013-10-31 23:47:50 -0700127 <test-case FilePath="recovery_ddl">
128 <compilation-unit name="dataset_recovery">
129 <output-dir compare="Text">dataset_recovery</output-dir>
Pei Li7f9246f2013-10-28 02:15:27 -0700130 </compilation-unit>
Pei Lia552f6b2013-11-01 09:58:20 -0700131 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700132
Pei Lidc9a9ca2013-10-31 23:47:50 -0700133 <test-case FilePath="recovery_ddl">
134 <compilation-unit name="secondary_index_recovery">
135 <output-dir compare="Text">secondary_index_recovery</output-dir>
136 </compilation-unit>
137 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700138
Pei Li28970492013-11-11 20:46:55 -0800139 <test-case FilePath="recovery_ddl">
140 <compilation-unit name="load_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800141 <output-dir compare="Text">load_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800142 </compilation-unit>
143 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700144
Pei Li28970492013-11-11 20:46:55 -0800145 <test-case FilePath="recovery_ddl">
146 <compilation-unit name="insert_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800147 <output-dir compare="Text">insert_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800148 </compilation-unit>
149 </test-case>
Pei Lidc9a9ca2013-10-31 23:47:50 -0700150
Pei Li28970492013-11-11 20:46:55 -0800151 <test-case FilePath="recovery_ddl">
152 <compilation-unit name="delete_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800153 <output-dir compare="Text">delete_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800154 </compilation-unit>
155 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700156
Pei Li28970492013-11-11 20:46:55 -0800157 <test-case FilePath="recovery_ddl">
158 <compilation-unit name="function_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800159 <output-dir compare="Text">function_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800160 </compilation-unit>
161 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700162
163 <test-case FilePath="recovery_ddl">
164 <compilation-unit name="temp_dataset_recovery">
165 <output-dir compare="Text">dataset_recovery</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800166 <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> -->
buyingyiccd67fe2015-05-19 11:53:39 -0700167 </compilation-unit>
168 </test-case>
169
170 <test-case FilePath="recovery_ddl">
171 <compilation-unit name="temp_delete_after_recovery">
172 <output-dir compare="Text">delete_after_recovery</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800173 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Cannot find dataset Fragile_raw in dataverse recovery</expected-error>
174 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile_raw in dataverse recovery</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700175 </compilation-unit>
176 </test-case>
177
178 <test-case FilePath="recovery_ddl">
179 <compilation-unit name="temp_insert_after_recovery">
180 <output-dir compare="Text">insert_after_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700181 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800182 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile in dataverse recovery</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700183 </compilation-unit>
184 </test-case>
185
186 <test-case FilePath="recovery_ddl">
187 <compilation-unit name="temp_load_after_recovery">
188 <output-dir compare="Text">load_after_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700189 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800190 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile_raw in dataverse recovery</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700191 </compilation-unit>
192 </test-case>
193
194 <test-case FilePath="recovery_ddl">
195 <compilation-unit name="temp_secondary_index_recovery">
196 <output-dir compare="Text">secondary_index_recovery</output-dir>
Murtadha Hubailc614ce52016-01-11 17:52:56 -0800197 <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> -->
buyingyiccd67fe2015-05-19 11:53:39 -0700198 </compilation-unit>
199 </test-case>
Pei Li43137a42013-11-22 02:00:26 -0800200
Young-Seok778e0192013-09-27 15:09:28 -0700201 </test-group>
Pei Li56534152013-11-27 01:13:31 -0800202
Young-Seok778e0192013-09-27 15:09:28 -0700203</test-suite>