xref: /illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/mmp.cfg (revision 069e6b7e31ba5dcbc5441b98af272714d9a5455c)
1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#
9# A full copy of the text of the CDDL should have accompanied this
10# source.  A copy of the CDDL is also available via the Internet at
11# http://www.illumos.org/license/CDDL.
12#
13# CDDL HEADER END
14#
15
16#
17# Copyright (c) 2017 by Lawrence Livermore National Security, LLC.
18#
19
20export PREV_UBER="$TEST_BASE_DIR/mmp-uber-prev.txt"
21export CURR_UBER="$TEST_BASE_DIR/mmp-uber-curr.txt"
22export DISK=${DISKS%% *}
23
24export HOSTID_FILE="/etc/hostid"
25export HOSTID1=01234567
26export HOSTID2=89abcdef
27
28export TXG_TIMEOUT_LONG=5000
29export TXG_TIMEOUT_DEFAULT=5
30
31export MMP_POOL=mmppool
32export MMP_DIR=$TEST_BASE_DIR/mmp
33export MMP_CACHE=$MMP_DIR/zpool.cache
34export MMP_ZTEST_LOG=$MMP_DIR/ztest.log
35export MMP_HISTORY=100
36export MMP_HISTORY_OFF=0
37
38export MMP_INTERVAL_HOUR=$((60*60*1000))
39export MMP_INTERVAL_DEFAULT=1000
40export MMP_INTERVAL_MIN=100
41
42export MMP_IMPORT_INTERVALS=20
43export MMP_FAIL_INTERVALS_DEFAULT=10
44export MMP_FAIL_INTERVALS_MIN=2
45
46export MMP_TEST_DURATION_DEFAULT=$((MMP_IMPORT_INTERVALS*MMP_INTERVAL_DEFAULT/1000))
47