blob: cf951328eb39adeefcccadbb5acb0d19647c8dfe [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
Young-Seok778e0192013-09-27 15:09:28 -070021 <test-group name="recover_after_abort">
Pei Li43137a42013-11-22 02:00:26 -080022
Young-Seok778e0192013-09-27 15:09:28 -070023 <test-case FilePath="recover_after_abort">
24 <compilation-unit name="primary_index_only">
25 <output-dir compare="Text">primary_index_only</output-dir>
26 </compilation-unit>
27 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080028
Pei Li7f9246f2013-10-28 02:15:27 -070029 <test-case FilePath="recover_after_abort">
30 <compilation-unit name="primary_plus_default_secondary_index">
31 <output-dir compare="Text">primary_plus_default_secondary_index</output-dir>
32 </compilation-unit>
Young-Seok778e0192013-09-27 15:09:28 -070033 </test-case>
Pei Lie25befa2013-11-22 10:47:45 -080034
Pei Licc797aa2013-11-19 18:55:27 -080035 <test-case FilePath="recover_after_abort">
36 <compilation-unit name="primary_plus_rtree_index">
37 <output-dir compare="Text">primary_plus_rtree_index</output-dir>
38 </compilation-unit>
39 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070040
Pei Li7f9246f2013-10-28 02:15:27 -070041 <test-case FilePath="recover_after_abort">
42 <compilation-unit name="primary_plus_keyword_secondary_index">
43 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
44 </compilation-unit>
45 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -070046
Pei Li7f9246f2013-10-28 02:15:27 -070047 <test-case FilePath="recover_after_abort">
48 <compilation-unit name="primary_plus_ngram_index">
49 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
50 </compilation-unit>
51 </test-case>
Pei Lidf6d1942013-11-19 00:27:15 -080052
Pei Licc797aa2013-11-19 18:55:27 -080053 <test-case FilePath="recover_after_abort">
Pei Lidf6d1942013-11-19 00:27:15 -080054 <compilation-unit name="primary_plus_multiple_secondary_indices">
55 <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir>
56 </compilation-unit>
57 </test-case>
Pei Li43137a42013-11-22 02:00:26 -080058
buyingyiccd67fe2015-05-19 11:53:39 -070059 <test-case FilePath="recover_after_abort">
60 <compilation-unit name="temp_primary_index_only">
61 <output-dir compare="Text">primary_index_only</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070062 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -070063 </compilation-unit>
64 </test-case>
65
66 <test-case FilePath="recover_after_abort">
67 <compilation-unit name="temp_primary_plus_default_secondary_index">
68 <output-dir compare="Text">primary_plus_default_secondary_index</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_rtree_index">
75 <output-dir compare="Text">primary_plus_rtree_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_keyword_secondary_index">
82 <output-dir compare="Text">primary_plus_keyword_secondary_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070083 <expected-error>org.apache.hyracks.api.exceptions.HyracksDataException</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_ngram_index">
89 <output-dir compare="Text">primary_plus_ngram_index</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -070090 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</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="primary_plus_multiple_secondary_indices">
96 <output-dir compare="Text">primary_plus_multiple_secondary_indices</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>
Pei Li43137a42013-11-22 02:00:26 -0800100 </test-group>
Pei Li43137a42013-11-22 02:00:26 -0800101
Pei Li1da69fd2013-12-13 09:32:27 -0800102 <test-group name="recovery_ddl">
buyingyiccd67fe2015-05-19 11:53:39 -0700103
Pei Lidc9a9ca2013-10-31 23:47:50 -0700104 <test-case FilePath="recovery_ddl">
105 <compilation-unit name="dataverse_recovery">
106 <output-dir compare="Text">dataverse_recovery</output-dir>
107 </compilation-unit>
108 </test-case>
Pei Libddde502013-11-20 10:54:35 -0800109
Pei Lidc9a9ca2013-10-31 23:47:50 -0700110 <test-case FilePath="recovery_ddl">
111 <compilation-unit name="datatype_recovery">
112 <output-dir compare="Text">datatype_recovery</output-dir>
113 </compilation-unit>
114 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700115
Pei Lidc9a9ca2013-10-31 23:47:50 -0700116 <test-case FilePath="recovery_ddl">
117 <compilation-unit name="dataset_recovery">
118 <output-dir compare="Text">dataset_recovery</output-dir>
Pei Li7f9246f2013-10-28 02:15:27 -0700119 </compilation-unit>
Pei Lia552f6b2013-11-01 09:58:20 -0700120 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700121
Pei Lidc9a9ca2013-10-31 23:47:50 -0700122 <test-case FilePath="recovery_ddl">
123 <compilation-unit name="secondary_index_recovery">
124 <output-dir compare="Text">secondary_index_recovery</output-dir>
125 </compilation-unit>
126 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700127
Pei Li28970492013-11-11 20:46:55 -0800128 <test-case FilePath="recovery_ddl">
129 <compilation-unit name="load_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800130 <output-dir compare="Text">load_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800131 </compilation-unit>
132 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700133
Pei Li28970492013-11-11 20:46:55 -0800134 <test-case FilePath="recovery_ddl">
135 <compilation-unit name="insert_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800136 <output-dir compare="Text">insert_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800137 </compilation-unit>
138 </test-case>
Pei Lidc9a9ca2013-10-31 23:47:50 -0700139
Pei Li28970492013-11-11 20:46:55 -0800140 <test-case FilePath="recovery_ddl">
141 <compilation-unit name="delete_after_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800142 <output-dir compare="Text">delete_after_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800143 </compilation-unit>
144 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700145
Pei Li28970492013-11-11 20:46:55 -0800146 <test-case FilePath="recovery_ddl">
147 <compilation-unit name="function_recovery">
Pei Lif8f6d9a2013-11-15 01:10:55 -0800148 <output-dir compare="Text">function_recovery</output-dir>
Pei Li28970492013-11-11 20:46:55 -0800149 </compilation-unit>
150 </test-case>
buyingyiccd67fe2015-05-19 11:53:39 -0700151
152 <test-case FilePath="recovery_ddl">
153 <compilation-unit name="temp_dataset_recovery">
154 <output-dir compare="Text">dataset_recovery</output-dir>
Ian Maxonf18bba22015-08-21 12:35:14 -0700155 <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error>
buyingyiccd67fe2015-05-19 11:53:39 -0700156 </compilation-unit>
157 </test-case>
158
159 <test-case FilePath="recovery_ddl">
160 <compilation-unit name="temp_delete_after_recovery">
161 <output-dir compare="Text">delete_after_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_insert_after_recovery">
168 <output-dir compare="Text">insert_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_load_after_recovery">
175 <output-dir compare="Text">load_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_secondary_index_recovery">
182 <output-dir compare="Text">secondary_index_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>
Pei Li43137a42013-11-22 02:00:26 -0800186
Young-Seok778e0192013-09-27 15:09:28 -0700187 </test-group>
Pei Li56534152013-11-27 01:13:31 -0800188
Young-Seok778e0192013-09-27 15:09:28 -0700189</test-suite>