Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 1 | <!-- |
Ian Maxon | 928bbd1 | 2015-09-14 17:12:48 -0700 | [diff] [blame] | 2 | ! 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-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 18 | !--> |
Ian Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 19 | <test-suite xmlns="urn:xml.testframework.asterix.apache.org" ResultOffsetPath="results" QueryOffsetPath="queries" QueryFileExtension=".aql"> |
Abdullah Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 20 | <test-group name="query_after_restart"> |
| 21 | <test-case FilePath="query_after_restart"> |
Abdullah Alamoudi | 02b35a1 | 2016-04-01 18:50:16 +0300 | [diff] [blame] | 22 | <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 Alamoudi | 5a78ca0 | 2015-11-19 09:23:27 -0800 | [diff] [blame] | 27 | <compilation-unit name="external_index"> |
| 28 | <output-dir compare="Text">external_index</output-dir> |
| 29 | </compilation-unit> |
| 30 | </test-case> |
| 31 | </test-group> |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 32 | <test-group name="recover_after_abort"> |
Pei Li | 43137a4 | 2013-11-22 02:00:26 -0800 | [diff] [blame] | 33 | |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 34 | <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 Li | e25befa | 2013-11-22 10:47:45 -0800 | [diff] [blame] | 39 | |
Pei Li | 7f9246f | 2013-10-28 02:15:27 -0700 | [diff] [blame] | 40 | <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-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 44 | </test-case> |
Pei Li | e25befa | 2013-11-22 10:47:45 -0800 | [diff] [blame] | 45 | |
Pei Li | cc797aa | 2013-11-19 18:55:27 -0800 | [diff] [blame] | 46 | <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> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 51 | |
Pei Li | 7f9246f | 2013-10-28 02:15:27 -0700 | [diff] [blame] | 52 | <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> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 57 | |
Pei Li | 7f9246f | 2013-10-28 02:15:27 -0700 | [diff] [blame] | 58 | <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 Li | df6d194 | 2013-11-19 00:27:15 -0800 | [diff] [blame] | 63 | |
Pei Li | cc797aa | 2013-11-19 18:55:27 -0800 | [diff] [blame] | 64 | <test-case FilePath="recover_after_abort"> |
Pei Li | df6d194 | 2013-11-19 00:27:15 -0800 | [diff] [blame] | 65 | <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 Li | 43137a4 | 2013-11-22 02:00:26 -0800 | [diff] [blame] | 69 | |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 70 | <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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 73 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 74 | </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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 80 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 81 | </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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 87 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 88 | </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 Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 94 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile in dataverse recovery</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 95 | </compilation-unit> |
| 96 | </test-case> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 97 | |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 98 | <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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 101 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 102 | </compilation-unit> |
| 103 | </test-case> |
| 104 | |
| 105 | <test-case FilePath="recover_after_abort"> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 106 | <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 --> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 107 | <output-dir compare="Text">primary_plus_multiple_secondary_indices</output-dir> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 108 | <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> --> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 109 | </compilation-unit> |
| 110 | </test-case> |
Pei Li | 43137a4 | 2013-11-22 02:00:26 -0800 | [diff] [blame] | 111 | </test-group> |
Pei Li | 43137a4 | 2013-11-22 02:00:26 -0800 | [diff] [blame] | 112 | |
Pei Li | 1da69fd | 2013-12-13 09:32:27 -0800 | [diff] [blame] | 113 | <test-group name="recovery_ddl"> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 114 | |
Pei Li | dc9a9ca | 2013-10-31 23:47:50 -0700 | [diff] [blame] | 115 | <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 Li | bddde50 | 2013-11-20 10:54:35 -0800 | [diff] [blame] | 120 | |
Pei Li | dc9a9ca | 2013-10-31 23:47:50 -0700 | [diff] [blame] | 121 | <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> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 126 | |
Pei Li | dc9a9ca | 2013-10-31 23:47:50 -0700 | [diff] [blame] | 127 | <test-case FilePath="recovery_ddl"> |
| 128 | <compilation-unit name="dataset_recovery"> |
| 129 | <output-dir compare="Text">dataset_recovery</output-dir> |
Pei Li | 7f9246f | 2013-10-28 02:15:27 -0700 | [diff] [blame] | 130 | </compilation-unit> |
Pei Li | a552f6b | 2013-11-01 09:58:20 -0700 | [diff] [blame] | 131 | </test-case> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 132 | |
Pei Li | dc9a9ca | 2013-10-31 23:47:50 -0700 | [diff] [blame] | 133 | <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> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 138 | |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 139 | <test-case FilePath="recovery_ddl"> |
| 140 | <compilation-unit name="load_after_recovery"> |
Pei Li | f8f6d9a | 2013-11-15 01:10:55 -0800 | [diff] [blame] | 141 | <output-dir compare="Text">load_after_recovery</output-dir> |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 142 | </compilation-unit> |
| 143 | </test-case> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 144 | |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 145 | <test-case FilePath="recovery_ddl"> |
| 146 | <compilation-unit name="insert_after_recovery"> |
Pei Li | f8f6d9a | 2013-11-15 01:10:55 -0800 | [diff] [blame] | 147 | <output-dir compare="Text">insert_after_recovery</output-dir> |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 148 | </compilation-unit> |
| 149 | </test-case> |
Pei Li | dc9a9ca | 2013-10-31 23:47:50 -0700 | [diff] [blame] | 150 | |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 151 | <test-case FilePath="recovery_ddl"> |
| 152 | <compilation-unit name="delete_after_recovery"> |
Pei Li | f8f6d9a | 2013-11-15 01:10:55 -0800 | [diff] [blame] | 153 | <output-dir compare="Text">delete_after_recovery</output-dir> |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 154 | </compilation-unit> |
| 155 | </test-case> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 156 | |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 157 | <test-case FilePath="recovery_ddl"> |
| 158 | <compilation-unit name="function_recovery"> |
Pei Li | f8f6d9a | 2013-11-15 01:10:55 -0800 | [diff] [blame] | 159 | <output-dir compare="Text">function_recovery</output-dir> |
Pei Li | 2897049 | 2013-11-11 20:46:55 -0800 | [diff] [blame] | 160 | </compilation-unit> |
| 161 | </test-case> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 162 | |
| 163 | <test-case FilePath="recovery_ddl"> |
| 164 | <compilation-unit name="temp_dataset_recovery"> |
| 165 | <output-dir compare="Text">dataset_recovery</output-dir> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 166 | <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> --> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 167 | </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 Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 173 | <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> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 175 | </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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 181 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 182 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile in dataverse recovery</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 183 | </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 Maxon | f18bba2 | 2015-08-21 12:35:14 -0700 | [diff] [blame] | 189 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> |
Murtadha Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 190 | <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException: Could not find dataset Fragile_raw in dataverse recovery</expected-error> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 191 | </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 Hubail | c614ce5 | 2016-01-11 17:52:56 -0800 | [diff] [blame] | 197 | <!-- <expected-error>org.apache.hyracks.algebricks.common.exceptions.AlgebricksException</expected-error> --> |
buyingyi | ccd67fe | 2015-05-19 11:53:39 -0700 | [diff] [blame] | 198 | </compilation-unit> |
| 199 | </test-case> |
Pei Li | 43137a4 | 2013-11-22 02:00:26 -0800 | [diff] [blame] | 200 | |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 201 | </test-group> |
Pei Li | 5653415 | 2013-11-27 01:13:31 -0800 | [diff] [blame] | 202 | |
Young-Seok | 778e019 | 2013-09-27 15:09:28 -0700 | [diff] [blame] | 203 | </test-suite> |