Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Aug 22, 2024
1 parent 41b53d4 commit b1cd94a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/dbio/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e # exit on error
export DEBUG=''

cd iop
go test -run 'TestParseDate|TestDetectDelimiter|TestFIX'
go test -run 'TestParseDate|TestDetectDelimiter|TestFIX|TestConstraints'
cd -

cd database
Expand Down
4 changes: 3 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ cd -

cd core/sling
go test -run 'TestTransformMsUUID'
go test -run 'TestCheck'
cd -

## test cli commands
Expand Down Expand Up @@ -78,7 +79,8 @@ sling run -r cmd/sling/tests/replications/r.05.yaml --streams 's3://ocral/mlo.co
SLING_STREAM_CNT=3 sling run -r cmd/sling/tests/replications/r.06.yaml
SLING_STREAM_CNT=14 sling run -r cmd/sling/tests/replications/r.07.yaml
SLING_STREAM_CNT=4 sling run -r cmd/sling/tests/replications/r.08.yaml
SLING_CONSTRAINT_FAILS=2 SLING_STREAM_CNT=">1" sling run -r cmd/sling/tests/replications/r.09.yaml
# SLING_CONSTRAINT_FAILS=2 SLING_STREAM_CNT=">1" sling run -r cmd/sling/tests/replications/r.09.yaml
SLING_STREAM_CNT=">1" sling run -r cmd/sling/tests/replications/r.09.yaml
YEAR=2005 sling run -r cmd/sling/tests/replications/r.11.yaml
sling run -r cmd/sling/tests/replications/r.12.yaml

Expand Down

0 comments on commit b1cd94a

Please sign in to comment.