blob: 7a1a3109c01818cfb7d314a6f54db0cb8b3f5e4e [file]
; The MIT License (MIT)
;
; Copyright (c) 2015 Microsoft Corporation
;
; -=- Robust Distributed System Nucleus (rDSN) -=-
;
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the rights
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
; copies of the Software, and to permit persons to whom the Software is
; furnished to do so, subject to the following conditions:
;
; The above copyright notice and this permission notice shall be included in
; all copies or substantial portions of the Software.
;
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
; THE SOFTWARE.
[apps..default]
run = true
count = 1
#network.client.RPC_CHANNEL_TCP = dsn::tools::sim_network_provider, 65536
;network.client.RPC_CHANNEL_UDP = dsn::tools::sim_network_provider, 65536
;network.server.0.RPC_CHANNEL_TCP = dsn::tools::sim_network_provider, 65536
[apps.client]
arguments = localhost 20101
ports =
delay_seconds = 1
# bool
run = true
RUN = TRUE
Run = True
notrun = false
# string
type = test
# list
pools = THREAD_POOL_DEFAULT, THREAD_POOL_TEST_SERVER
# double
count1 = 1
count2 = 1.2345678
# int64_t
int64_t_ok1 = 123
int64_t_ok2 = 0xdeadbeef
int64_t_ok3 = 9223372036854775807 # 2^63-1 max
int64_t_ok4 = -9223372036854775808 # -2^63 min
int64_t_ok5 = 0x7fffffffffffffff # 2^63-1 max
int64_t_bad1 = 9223372036854775808 # 2^63 max+1
int64_t_bad2 = -9223372036854775809 # -2^63-1 min-1
int64_t_bad3 = 1234abc
int64_t_bad4 =
int64_t_bad5
# uint64_t
uint64_t_ok1 = 123
uint64_t_ok2 = 0xdeadbeef
uint64_t_ok3 = 18446744073709551615 # 2^64-1 max
uint64_t_ok4 = 0 # 0 min
uint64_t_ok5 = 0xffffffffffffffff # 2^64-1 max
uint64_t_ok6 = 0x0000000000000000 # 0 min
uint64_t_bad1 = 18446744073709551616 # 2^64 max+1
uint64_t_bad2 = -1 # -1 min-1
uint64_t_bad3 = 1234abc
uint64_t_bad4 =
uint64_t_bad5
[apps.server]
type = test
arguments =
ports = 20101
run = true
count = 1
pools = THREAD_POOL_DEFAULT, THREAD_POOL_TEST_SERVER
replace_data = %replace%
shift_data = head^#middle^;tail
hex_data = 0xdeadbeef
just_key_data
[test]