Skip to content

Commit

Permalink
Prevent magic by using staitc config for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
donhardman committed Feb 22, 2024
1 parent aba70b2 commit 0b8fc5d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/config/manticore.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
searchd {
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql
listen = 127.0.0.1:9308:http
log = /var/log/manticore/searchd.log
query_log = /var/log/manticore/query.log
pid_file = /var/run/manticore/searchd.pid
data_dir = /var/lib/manticore
}
3 changes: 3 additions & 0 deletions tests/start-searchd.recb
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
––– input –––
cp ./tests/config/manticore.conf /etc/manticoresearch/manticore.conf
––– output –––
––– input –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#) (secondary %{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#) (knn %{SEMVER} #!/[a-f0-9]{7}@[0-9]{6}/!#)
Expand Down

0 comments on commit 0b8fc5d

Please sign in to comment.