Skip to content

Commit 56f5aa4

Browse files
Merge c668dc3 into de6e35e
2 parents de6e35e + c668dc3 commit 56f5aa4

File tree

4 files changed

+1202
-122
lines changed

4 files changed

+1202
-122
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
}

test/clt-tests/core/show-settings.rec

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ mysql -h0 -P1306 -e "SHOW SETTINGS;"
1313
| searchd.listen | 1306:mysql41 |
1414
| searchd.listen | 1312 |
1515
| searchd.listen | 1308:http |
16-
| searchd.log | /var/log/manticore-1/searchd.log |
17-
| searchd.query_log | /var/log/manticore-1/query.log |
18-
| searchd.pid_file | /var/log/manticore-1/searchd.pid |
19-
| searchd.data_dir | /var/log/manticore-1 |
16+
| searchd.log | /tmp/manticore-1/searchd.log |
17+
| searchd.query_log | /tmp/manticore-1/query.log |
18+
| searchd.pid_file | /tmp/manticore-1/searchd.pid |
19+
| searchd.data_dir | /tmp/manticore-1 |
2020
| searchd.query_log_format | sphinxql |
2121
| searchd.query_log_commands | 1 |
22-
| searchd.binlog_path | /var/log/manticore-1/binlog |
22+
| searchd.binlog_path | /tmp/manticore-1/binlog |
2323
| common.plugin_dir | /usr/local/lib/manticore |
2424
| common.lemmatizer_base | /usr/share/manticore/morph/ |
2525
+----------------------------+------------------------------------------------------------+

0 commit comments

Comments
 (0)