Skip to content

Commit

Permalink
CLT test of EXTRA=1/0 (#64)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Pavel_Shilin <[email protected]>
Co-authored-by: Sergey Nikolaev <[email protected]>
  • Loading branch information
3 people authored Nov 29, 2023
1 parent 07b8c33 commit 0185279
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions clt_tests/tests/test-extra.rec
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

0 comments on commit 0185279

Please sign in to comment.