Skip to content

Commit

Permalink
SMB container now listens on port 2048
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanusz-r7 committed Apr 8, 2024
1 parent 531c198 commit 2f604a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/smb_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
SMB_USERNAME: acceptance_tests_user
SMB_PASSWORD: acceptance_tests_password
options: >-
--health-cmd smbclient -U 'acceptance_tests_user%acceptance_tests_password' -L 127.0.0.1
--health-cmd smbclient -U 'acceptance_tests_user%acceptance_tests_password' -L 127.0.0.1 -p 2048
--health-interval 10s
--health-timeout 5s
--health-retries 5
Expand Down Expand Up @@ -117,8 +117,8 @@ jobs:
# Note: rspec retry is intentionally not used, as it can cause issues with allure's reporting
# Additionally - flakey tests should be fixed or marked as flakey instead of silently retried
run: |
docker run -d --rm --publish 127.0.0.1:445:445 --publish 127.0.0.1:139:139 smb-samba:v1 --name smb-acceptance
smbclient -U 'acceptance_tests_user%acceptance_tests_password' -L 127.0.0.1
docker run -d --rm --publish 127.0.0.1:2048:445 --publish 127.0.0.1:2024:139 smb-samba:v1 --name smb-acceptance
smbclient -U 'acceptance_tests_user%acceptance_tests_password' -L 127.0.0.1 -p 2048
bundle exec rspec spec/acceptance/smb_spec.rb
- name: Kill Docker Container
Expand Down

0 comments on commit 2f604a8

Please sign in to comment.