-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Co-authored-by: Pavel_Shilin <[email protected]> Co-authored-by: Sergey Nikolaev <[email protected]>
- Loading branch information
1 parent
07b8c33
commit 0185279
Showing
1 changed file
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
––– block: ./base/init ––– | ||
––– input ––– | ||
docker run --rm -e EXTRA=0 --name manticore -d manticoresoftware/manticore:current | ||
––– output ––– | ||
#!/[0-9a-z]{40}$/!# | ||
––– input ––– | ||
timeout 10 docker logs -f manticore 2>1 | grep -qm1 "accepting connections" && echo 'accepting connections' || echo 'Docker failed to start properly in 10 seconds' | ||
––– output ––– | ||
accepting connections | ||
––– input ––– | ||
docker exec manticore searchd --version | ||
––– output ––– | ||
Manticore %{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{6}/!# dev | ||
Copyright (c) 2001-2016, Andrew Aksyonoff | ||
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com) | ||
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com) | ||
––– input ––– | ||
docker stop manticore | ||
––– output ––– | ||
manticore | ||
––– input ––– | ||
sleep 1;docker run --rm -e EXTRA=1 --name manticore -v /tmp/idx:/var/lib/manticore -d manticoresoftware/manticore:current | ||
––– output ––– | ||
#!/[0-9a-z]{40}$/!# | ||
––– input ––– | ||
timeout 60 docker logs -f manticore 2>&1 | grep -qEm1 "columnar.*?secondary.*?knn" && echo 'Done' || echo 'Not found' | ||
––– output ––– | ||
Done | ||
––– input ––– | ||
docker stop manticore | ||
––– output ––– | ||
manticore | ||
––– input ––– | ||
sleep 1;docker run --rm -e EXTRA=1 --name manticore -v /tmp/idx:/var/lib/manticore -d manticoresoftware/manticore:current | ||
––– output ––– | ||
#!/[0-9a-z]{40}$/!# | ||
––– input ––– | ||
timeout 10 docker logs -f manticore 2>1 | grep -qm1 "Install extra packages" || echo 'Packages installation skipped' | ||
––– output ––– | ||
Packages installation skipped | ||
––– input ––– | ||
docker exec manticore manticore-executor -v | ||
––– output ––– | ||
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} #!/[0-9]{2}:[0-9]{2}:[0-9]{2}/!#) (NTS) | ||
Copyright (c) The PHP Group | ||
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies | ||
––– input ––– | ||
docker exec manticore ls /usr/share/manticore/modules/lib_manticore_columnar.so /usr/share/manticore/modules/lib_manticore_secondary.so /usr/share/manticore/modules/lib_manticore_knn.so | ||
––– output ––– | ||
/usr/share/manticore/modules/lib_manticore_columnar.so | ||
/usr/share/manticore/modules/lib_manticore_knn.so | ||
/usr/share/manticore/modules/lib_manticore_secondary.so |