Skip to content

Commit 9cb979e

Browse files
committed
Updated for CSW-3.0.0-RC1
1 parent a3d9ccf commit 9cb979e

3 files changed

Lines changed: 19 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## [csw-c v3.0.0-RC1] - 2020-12-01
5+
6+
### Changed
7+
8+
- Updated test version to CSW-3.0.0-RC1
9+
410
## [csw-c v3.0.0-M1] - 2020-09-29
511

612
### Changed

test/runTests.sh

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,20 @@
33
# Script that starts the CSW services, compiles and runs the test assembly and then runs the C based tests.
44
# Assumes that csw-services.sh and sbt are all in your shell path.
55

6+
CSW_VERSION=3.0.0-RC1
67
logfile=test.log
7-
if ! hash csw-services.sh 2>/dev/null ; then
8-
echo >&2 "Please install csw-services.sh (from csw sources or download csw-apps zip from csw GitHub release). Aborting."
8+
if ! hash csw-services 2>/dev/null ; then
9+
echo >&2 "Please install csw-services (run: cs install csw-services $CSW_VERSION). Aborting."
10+
exit 1
11+
fi
12+
csw_services_version=`csw-services --help | grep Main | sed -e 's/Main //'`
13+
if test "$csw_services_version" != "$CSW_VERSION"; then
14+
echo >&2 "CSW services version $csw_services_version != $CSW_VERSION: Please install csw-services (run: cs install csw-services $CSW_VERSION). Aborting."
915
exit 1
1016
fi
1117
set -v
12-
csw-services.sh --version v3.0.0-M1 start -e > $logfile 2>&1 &
13-
#csw-services.sh start -e > $logfile 2>&1 &
18+
csw-services start -e > $logfile 2>&1 &
19+
cswServicesPid=$!
1420
cd testSupport || exit 1
1521
sbt stage >> $logfile 2>&1
1622
test-deploy/target/universal/stage/bin/test-container-cmd-app --local test-deploy/src/main/resources/TestContainer.conf >> $logfile 2>&1 &
@@ -21,4 +27,5 @@ sleep 30
2127
# Run the C based tests
2228
../build/test/testPublisher
2329
kill $assemblyPid
24-
csw-services.sh stop >> $logfile 2>&1
30+
#csw-services stop >> $logfile 2>&1
31+
kill $cswServicesPid

test/testSupport/project/Libs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ object AkkaHttp {
1616
}
1717

1818
object CSW {
19-
val Version = "3.0.0-M1"
19+
val Version = "3.0.0-RC1"
2020
// val Version = "0.1.0-SNAPSHOT"
2121

2222
val `csw-framework` = "com.github.tmtsoftware.csw" %% "csw-framework" % Version

0 commit comments

Comments
 (0)