diff options
Diffstat (limited to 'core/src/test/resources/fairscheduler-with-invalid-data.xml')
-rw-r--r-- | core/src/test/resources/fairscheduler-with-invalid-data.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/core/src/test/resources/fairscheduler-with-invalid-data.xml b/core/src/test/resources/fairscheduler-with-invalid-data.xml new file mode 100644 index 0000000000..a4d8d07b67 --- /dev/null +++ b/core/src/test/resources/fairscheduler-with-invalid-data.xml @@ -0,0 +1,80 @@ +<?xml version="1.0"?> +<!-- + ~ Licensed to the Apache Software Foundation (ASF) under one or more + ~ contributor license agreements. See the NOTICE file distributed with + ~ this work for additional information regarding copyright ownership. + ~ The ASF licenses this file to You under the Apache License, Version 2.0 + ~ (the "License"); you may not use this file except in compliance with + ~ the License. You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + --> + +<allocations> + <pool name="pool_with_invalid_min_share"> + <minShare>INVALID_MIN_SHARE</minShare> + <weight>2</weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_invalid_weight"> + <minShare>1</minShare> + <weight>INVALID_WEIGHT</weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_invalid_scheduling_mode"> + <minShare>3</minShare> + <weight>2</weight> + <schedulingMode>INVALID_SCHEDULING_MODE</schedulingMode> + </pool> + <pool name="pool_with_non_uppercase_scheduling_mode"> + <minShare>2</minShare> + <weight>1</weight> + <schedulingMode>fair</schedulingMode> + </pool> + <pool name="pool_with_NONE_scheduling_mode"> + <minShare>1</minShare> + <weight>2</weight> + <schedulingMode>NONE</schedulingMode> + </pool> + <pool name="pool_with_whitespace_min_share"> + <minShare> </minShare> + <weight>2</weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_whitespace_weight"> + <minShare>1</minShare> + <weight> </weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_whitespace_scheduling_mode"> + <minShare>3</minShare> + <weight>2</weight> + <schedulingMode> </schedulingMode> + </pool> + <pool name="pool_with_empty_min_share"> + <minShare></minShare> + <weight>3</weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_empty_weight"> + <minShare>2</minShare> + <weight></weight> + <schedulingMode>FAIR</schedulingMode> + </pool> + <pool name="pool_with_empty_scheduling_mode"> + <minShare>2</minShare> + <weight>2</weight> + <schedulingMode></schedulingMode> + </pool> + <pool name="pool_with_surrounded_whitespace"> + <minShare> 3 </minShare> + <weight> 2 </weight> + <schedulingMode> FAIR </schedulingMode> + </pool> +</allocations> |