Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
typo3-solr
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Chef Cookbooks
typo3-solr
Commits
1a05cb5d
Commit
1a05cb5d
authored
9 years ago
by
Stefan Galinski
Browse files
Options
Downloads
Patches
Plain Diff
[TASK] Initial release
parents
No related branches found
No related tags found
No related merge requests found
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/integration/typo3_solr_3-0/serverspec/solr_spec.rb
+35
-0
35 additions, 0 deletions
test/integration/typo3_solr_3-0/serverspec/solr_spec.rb
test/integration/typo3_solr_3-0/serverspec/tomcat_spec.rb
+19
-0
19 additions, 0 deletions
test/integration/typo3_solr_3-0/serverspec/tomcat_spec.rb
with
54 additions
and
0 deletions
test/integration/typo3_solr_3-0/serverspec/solr_spec.rb
0 → 100644
+
35
−
0
View file @
1a05cb5d
require
'serverspec'
include
Serverspec
::
Helper
::
Exec
include
Serverspec
::
Helper
::
DetectOS
RSpec
.
configure
do
|
c
|
c
.
before
:all
do
c
.
path
=
'/sbin:/usr/sbin'
end
end
describe
"Solr available"
do
it
"should list all available cores"
do
command
(
'wget -qO- http://localhost:8080/c015/admin/cores?action=STATUS'
).
stdout
.
should
match
(
/live\-MetallbringtsAt\-1\-0\-de\_AT/
)
end
end
describe
"TYPO3-specific libraries are downloaded"
do
it
"downloads typo3 acces-plugin"
do
expect
(
file
(
'/srv/solr/c015/typo3lib/solr-typo3-access-2.0.jar'
)).
to
be_file
end
it
"downloads typo3 utils-plugin"
do
expect
(
file
(
'/srv/solr/c015/typo3lib/solr-typo3-utils-1.1.jar'
)).
to
be_file
end
it
"downloads lang-plugin"
do
expect
(
file
(
'/srv/solr/c015/typo3lib/commons-lang3-3.1.jar'
)).
to
be_file
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test/integration/typo3_solr_3-0/serverspec/tomcat_spec.rb
0 → 100644
+
19
−
0
View file @
1a05cb5d
require
'serverspec'
include
Serverspec
::
Helper
::
Exec
include
Serverspec
::
Helper
::
DetectOS
RSpec
.
configure
do
|
c
|
c
.
before
:all
do
c
.
path
=
'/sbin:/usr/sbin'
end
end
describe
"Tomcat available"
do
it
"should be listening on port 8080"
do
expect
(
port
(
8080
)).
to
be_listening
.
with
(
'tcp6'
)
end
end
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment