Skip to content

Commit b3c1aa5

Browse files
Merge 270c799 into 17ecd12
2 parents 17ecd12 + 270c799 commit b3c1aa5

File tree

3 files changed

+1293
-117
lines changed

3 files changed

+1293
-117
lines changed

test/clt-tests/base/replication/start-searchd-precach.recb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
––– input –––
2-
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
2+
mkdir -p /tmp/manticore-${INSTANCE}
3+
––– output –––
4+
––– input –––
5+
chmod -R 777 /tmp/manticore-${INSTANCE}
36
––– output –––
47
––– input –––
58
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
@@ -14,6 +17,6 @@ listening on all interfaces for mysql, port=%{NUMBER}
1417
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
1518
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
1619
––– input –––
17-
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
20+
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /tmp/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
1821
––– output –––
1922
Accepting connections!

test/clt-tests/base/searchd-with-flexible-ports.conf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ searchd {
88
listen = ${INSTANCE}306:mysql41
99
listen = ${INSTANCE}312
1010
listen = ${INSTANCE}308:http
11-
log = /var/log/manticore-${INSTANCE}/searchd.log
12-
query_log = /var/log/manticore-${INSTANCE}/query.log
13-
pid_file = /var/log/manticore-${INSTANCE}/searchd.pid
14-
data_dir = /var/log/manticore-${INSTANCE}
11+
log = /tmp/manticore-${INSTANCE}/searchd.log
12+
query_log = /tmp/manticore-${INSTANCE}/query.log
13+
pid_file = /tmp/manticore-${INSTANCE}/searchd.pid
14+
data_dir = /tmp/manticore-${INSTANCE}
1515
query_log_format = sphinxql
1616
query_log_commands = 1
1717
}

0 commit comments

Comments
 (0)