Skip to content

Commit

Permalink
Change dynamoDB port
Browse files Browse the repository at this point in the history
  • Loading branch information
zero1ne committed Nov 9, 2023
1 parent 6877630 commit f6b3dac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/qsi-unit-tests.yml
Expand Up @@ -17,24 +17,6 @@ on:
jobs:
test:
runs-on: [ self-hosted, querypie ]
services:
mysql:
image: mysql:latest
env:
MYSQL_USER: root
MYSQL_PASSWORD: root
MYSQL_ROOT_PASSWORD: root
ports:
- 33066:3306

postgres:
image: postgres:latest
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: 1234
POSTGRES_DB: dvdrental
ports:
- 54322:5432

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -83,3 +65,6 @@ jobs:

- name: Test
run: dotnet test Qsi.Tests --no-build --verbosity normal

- name: Remove containers
run: docker ps -q -f "publish=33066" -f "publish=54322" -f "publish=8001" | xargs docker rm -f
2 changes: 1 addition & 1 deletion Qsi.Tests/Vendor/PrimarSql/PrimarSqlTest.cs
Expand Up @@ -15,7 +15,7 @@

namespace Qsi.Tests.PrimarSql;

[TestFixture("EndPoint=127.0.0.1:8000")]
[TestFixture("EndPoint=127.0.0.1:8001")]
public partial class PrimarSqlTest : VendorTestBase
{
public PrimarSqlTest(string connectionString) : base(connectionString)
Expand Down
2 changes: 1 addition & 1 deletion Qsi.Tests/Vendor/PrimarSql/docker-compose.yml
Expand Up @@ -5,5 +5,5 @@ services:
image: "amazon/dynamodb-local:latest"
container_name: dynamodb-local
ports:
- "8000:8000"
- "8001:8000"
working_dir: /home/dynamodblocal

0 comments on commit f6b3dac

Please sign in to comment.