0001 <?xml version="1.0"?>
0002 <!--
0003 ~ Licensed to the Apache Software Foundation (ASF) under one or more
0004 ~ contributor license agreements. See the NOTICE file distributed with
0005 ~ this work for additional information regarding copyright ownership.
0006 ~ The ASF licenses this file to You under the Apache License, Version 2.0
0007 ~ (the "License"); you may not use this file except in compliance with
0008 ~ the License. You may obtain a copy of the License at
0009 ~
0010 ~ http://www.apache.org/licenses/LICENSE-2.0
0011 ~
0012 ~ Unless required by applicable law or agreed to in writing, software
0013 ~ distributed under the License is distributed on an "AS IS" BASIS,
0014 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0015 ~ See the License for the specific language governing permissions and
0016 ~ limitations under the License.
0017 -->
0018
0019 <allocations>
0020 <pool name="pool_with_invalid_min_share">
0021 <minShare>INVALID_MIN_SHARE</minShare>
0022 <weight>2</weight>
0023 <schedulingMode>FAIR</schedulingMode>
0024 </pool>
0025 <pool name="pool_with_invalid_weight">
0026 <minShare>1</minShare>
0027 <weight>INVALID_WEIGHT</weight>
0028 <schedulingMode>FAIR</schedulingMode>
0029 </pool>
0030 <pool name="pool_with_invalid_scheduling_mode">
0031 <minShare>3</minShare>
0032 <weight>2</weight>
0033 <schedulingMode>INVALID_SCHEDULING_MODE</schedulingMode>
0034 </pool>
0035 <pool name="pool_with_non_uppercase_scheduling_mode">
0036 <minShare>2</minShare>
0037 <weight>1</weight>
0038 <schedulingMode>fair</schedulingMode>
0039 </pool>
0040 <pool name="pool_with_NONE_scheduling_mode">
0041 <minShare>1</minShare>
0042 <weight>2</weight>
0043 <schedulingMode>NONE</schedulingMode>
0044 </pool>
0045 <pool name="pool_with_whitespace_min_share">
0046 <minShare> </minShare>
0047 <weight>2</weight>
0048 <schedulingMode>FAIR</schedulingMode>
0049 </pool>
0050 <pool name="pool_with_whitespace_weight">
0051 <minShare>1</minShare>
0052 <weight> </weight>
0053 <schedulingMode>FAIR</schedulingMode>
0054 </pool>
0055 <pool name="pool_with_whitespace_scheduling_mode">
0056 <minShare>3</minShare>
0057 <weight>2</weight>
0058 <schedulingMode> </schedulingMode>
0059 </pool>
0060 <pool name="pool_with_empty_min_share">
0061 <minShare></minShare>
0062 <weight>3</weight>
0063 <schedulingMode>FAIR</schedulingMode>
0064 </pool>
0065 <pool name="pool_with_empty_weight">
0066 <minShare>2</minShare>
0067 <weight></weight>
0068 <schedulingMode>FAIR</schedulingMode>
0069 </pool>
0070 <pool name="pool_with_empty_scheduling_mode">
0071 <minShare>2</minShare>
0072 <weight>2</weight>
0073 <schedulingMode></schedulingMode>
0074 </pool>
0075 <pool name="pool_with_surrounded_whitespace">
0076 <minShare> 3 </minShare>
0077 <weight> 2 </weight>
0078 <schedulingMode> FAIR </schedulingMode>
0079 </pool>
0080 </allocations>