blob: e3774f87288c9014bef23fcca9e0b8faba4b7a50 [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">
buyingyiccd67fe2015-05-19 11:53:39 -070020
Abdullah Alamoudi5a78ca02015-11-19 09:23:27 -080021 <test-group name="query_after_restart">
22 <test-case FilePath="query_after_restart">
23 <compilation-unit name="external_index">
24 <output-dir compare="Text">external_index</output-dir>
25 </compilation-unit>
26 </test-case>
27 </test-group>
Young-Seok778e0192013-09-27 15:09:28 -070028 <test-group name="recover_after_abort">
Pei Li43137a42013-11-22 02:00:26 -080029
Young-Seok778e0192013-09-27 15:09:28 -070030 <test-case FilePath="recover_after_abort">
31 <compilation-unit name="primary_index_only">
32 <output-dir compare="Text">primary_index_only</output-dir>
33 </compilation-unit>
34 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080035
Pei Li7f9246f2013-10-28 02:15:27 -070036 <test-case FilePath="recover_after_abort">
37 <compilation-unit name="primary_plus_default_secondary_index">
38 <output-dir compare="Text">primary_plus_default_secondary_index</output-dir>
39 </compilation-unit>
Young-Seok778e0192013-09-27 15:09:28 -070040 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080041
Pei Licc797aa2013-11-19 18:55:27 -080042 <test-case FilePath="recover_after_abort">
43 <compilation-unit name="primary_plus_rtree_index">
44 <output-dir compare="Text">primary_plus_rtree_index</output-dir>
45 </compilation-unit>
46 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070047
Pei Li7f9246f2013-10-28 02:15:27 -070048 <test-case FilePath="recover_after_abort">
49 <compilation-unit name="primary_plus_keyword_secondary_index">
50 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
51 </compilation-unit>
52 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070053
Pei Li7f9246f2013-10-28 02:15:27 -070054 <test-case FilePath="recover_after_abort">
55 <compilation-unit name="primary_plus_ngram_index">
56 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
57 </compilation-unit>
58 </test-case>
Pei Lidf6d1942013-11-19 00:27:15 -080059
Pei Licc797aa2013-11-19 18:55:27 -080060 <test-case FilePath="recover_after_abort">
Pei Lidf6d1942013-11-19 00:27:15 -080061 <compilation-unit name="primary_plus_multiple_secondary_indices">
62 <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir>
63 </compilation-unit>
64 </test-case>
Pei Li43137a42013-11-22 02:00:26 -080065
buyingyiccd67fe2015-05-19 11:53:39 -070066 <test-case FilePath="recover_after_abort">
67 <compilation-unit name="temp_primary_index_only">
68 <output-dir compare="Text">primary_index_only</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070069 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070070 </compilation-unit>
71 </test-case>
72
73 <test-case FilePath="recover_after_abort">
74 <compilation-unit name="temp_primary_plus_default_secondary_index">
75 <output-dir compare="Text">primary_plus_default_secondary_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070076 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070077 </compilation-unit>
78 </test-case>
79
80 <test-case FilePath="recover_after_abort">
81 <compilation-unit name="temp_primary_plus_rtree_index">
82 <output-dir compare="Text">primary_plus_rtree_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070083 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070084 </compilation-unit>
85 </test-case>
86
87 <test-case FilePath="recover_after_abort">
88 <compilation-unit name="temp_primary_plus_keyword_secondary_index">
89 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070090 <expected-error>org.apache.hyracks.api.exceptions.HyracksDataException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070091 </compilation-unit>
92 </test-case>
93
94 <test-case FilePath="recover_after_abort">
95 <compilation-unit name="temp_primary_plus_ngram_index">
96 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070097 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070098 </compilation-unit>
99 </test-case>
100
101 <test-case FilePath="recover_after_abort">
102 <compilation-unit name="primary_plus_multiple_secondary_indices">
103 <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700104 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700105 </compilation-unit>
106 </test-case>
Pei Li43137a42013-11-22 02:00:26 -0800107 </test-group>
Pei Li43137a42013-11-22 02:00:26 -0800108
Pei Li1da69fd2013-12-13 09:32:27 -0800109 <test-group name="recovery_ddl">
buyingyiccd67fe2015-05-19 11:53:39 -0700110
Pei Lidc9a9ca2013-10-31 23:47:50 -0700111 <test-case FilePath="recovery_ddl">
112 <compilation-unit name="dataverse_recovery">
113 <output-dir compare="Text">dataverse_recovery</output-dir>
114 </compilation-unit>
115 </test-case>
Pei Libddde502013-11-20 10:54:35 -0800116
Pei Lidc9a9ca2013-10-31 23:47:50 -0700117 <test-case FilePath="recovery_ddl">
118 <compilation-unit name="datatype_recovery">
119 <output-dir compare="Text">datatype_recovery</output-dir>
120 </compilation-unit>
121 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700122
Pei Lidc9a9ca2013-10-31 23:47:50 -0700123 <test-case FilePath="recovery_ddl">
124 <compilation-unit name="dataset_recovery">
125 <output-dir compare="Text">dataset_recovery</output-dir>
Pei Li7f9246f2013-10-28 02:15:27 -0700126 </compilation-unit>
Pei Lia552f6b2013-11-01 09:58:20 -0700127 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700128
Pei Lidc9a9ca2013-10-31 23:47:50 -0700129 <test-case FilePath="recovery_ddl">
130 <compilation-unit name="secondary_index_recovery">
131 <output-dir compare="Text">secondary_index_recovery</output-dir>
132 </compilation-unit>
133 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700134
Pei Li28970492013-11-11 20:46:55 -0800135 <test-case FilePath="recovery_ddl">
136 <compilation-unit name="load_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800137 <output-dir compare="Text">load_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800138 </compilation-unit>
139 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700140
Pei Li28970492013-11-11 20:46:55 -0800141 <test-case FilePath="recovery_ddl">
142 <compilation-unit name="insert_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800143 <output-dir compare="Text">insert_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800144 </compilation-unit>
145 </test-case>
Pei Lidc9a9ca2013-10-31 23:47:50 -0700146
Pei Li28970492013-11-11 20:46:55 -0800147 <test-case FilePath="recovery_ddl">
148 <compilation-unit name="delete_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800149 <output-dir compare="Text">delete_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800150 </compilation-unit>
151 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700152
Pei Li28970492013-11-11 20:46:55 -0800153 <test-case FilePath="recovery_ddl">
154 <compilation-unit name="function_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800155 <output-dir compare="Text">function_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800156 </compilation-unit>
157 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700158
159 <test-case FilePath="recovery_ddl">
160 <compilation-unit name="temp_dataset_recovery">
161 <output-dir compare="Text">dataset_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700162 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700163 </compilation-unit>
164 </test-case>
165
166 <test-case FilePath="recovery_ddl">
167 <compilation-unit name="temp_delete_after_recovery">
168 <output-dir compare="Text">delete_after_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700169 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700170 </compilation-unit>
171 </test-case>
172
173 <test-case FilePath="recovery_ddl">
174 <compilation-unit name="temp_insert_after_recovery">
175 <output-dir compare="Text">insert_after_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700176 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700177 </compilation-unit>
178 </test-case>
179
180 <test-case FilePath="recovery_ddl">
181 <compilation-unit name="temp_load_after_recovery">
182 <output-dir compare="Text">load_after_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700183 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700184 </compilation-unit>
185 </test-case>
186
187 <test-case FilePath="recovery_ddl">
188 <compilation-unit name="temp_secondary_index_recovery">
189 <output-dir compare="Text">secondary_index_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700190 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700191 </compilation-unit>
192 </test-case>
Pei Li43137a42013-11-22 02:00:26 -0800193
Young-Seok778e0192013-09-27 15:09:28 -0700194 </test-group>
Pei Li56534152013-11-27 01:13:31 -0800195
Young-Seok778e0192013-09-27 15:09:28 -0700196</test-suite>