Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaKostash committed Nov 4, 2024
1 parent 58b3a98 commit a3db346
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion benchmarks/TimescaleBenchmark/TimescaleBenchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="AutoBogus" Version="2.13.1" />
<PackageReference Include="NBomber" Version="5.8.0" />
<PackageReference Include="NBomber" Version="5.8.1" />
<PackageReference Include="Dapper" Version="2.1.35" />
<PackageReference Include="RepoDb.PostgreSql" Version="1.13.1" />
<PackageReference Include="RepoDb.PostgreSql.BulkOperations" Version="1.13.1" />
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
command: postgres -c 'max_connections=500'
restart: always
environment:
POSTGRES_DB: metricsdb
POSTGRES_DB: nb_studio_db
POSTGRES_USER: timescaledb
POSTGRES_PASSWORD: timescaledb
ports:
- 5432:5432
volumes:
- metrics-data:/var/lib/postgresql/data
- nb_studio_data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d 'user=timescaledb dbname=metricsdb'" ]
test: [ "CMD-SHELL", "pg_isready -d 'user=timescaledb dbname=nb_studio_db'" ]
interval: 5s
timeout: 10s
retries: 5
Expand All @@ -33,7 +33,7 @@
- timescaledb

volumes:
metrics-data:
nb_studio_data:
driver: local

pgadmin-data:
Expand Down
2 changes: 1 addition & 1 deletion examples/Demo/Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NBomber" Version="5.8.0" />
<PackageReference Include="NBomber" Version="5.8.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion examples/Demo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void Run()
.WithReportingSinks(_timescaleDbSink)
.WithTestSuite("reporting test")
.WithTestName("timescale_db_demo")
.WithSessionId("dasfvxcz214141-wfva1-219")
.WithSessionId("dasfvxcz214141-wfva1-221")
.Run();
}
}
2 changes: 1 addition & 1 deletion examples/Demo/infra-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"TimescaleDbSink": {
"ConnectionString": "Host=localhost;Port=5432;Database=metricsdb;Username=timescaledb;Password=timescaledb;Pooling=true;Maximum Pool Size=300;"
"ConnectionString": "Host=localhost;Port=5432;Username=timescaledb;Password=timescaledb;Database=nb_studio_db;Pooling=true;Maximum Pool Size=300;"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</PackageReference>
<PackageReference Include="Ductus.FluentDocker" Version="2.10.59" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NBomber" Version="5.8.0" />
<PackageReference Include="NBomber" Version="5.8.1" />
<PackageReference Include="RepoDb.PostgreSql" Version="1.13.1" />
<PackageReference Include="xunit" Version="2.9.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
Expand Down
6 changes: 3 additions & 3 deletions tests/NBomber.Sinks.Timescale.Tests/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"StartDockerCompose": false,
"StartDockerCompose": true,

"DBSettings": {
"ConnectionString": "Host=localhost;Port=5432;Database=metricsdb;Username=timescaledb;Password=timescaledb;Pooling=true;Maximum Pool Size=300;"
"ConnectionString": "Host=localhost;Port=5432;Username=timescaledb;Password=timescaledb;Database=nb_studio_db;Pooling=true;Maximum Pool Size=300;"
}
}
8 changes: 4 additions & 4 deletions tests/NBomber.Sinks.Timescale.Tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
command: postgres -c 'max_connections=500'
restart: always
environment:
POSTGRES_DB: metricsdb
POSTGRES_DB: nb_studio_db
POSTGRES_USER: timescaledb
POSTGRES_PASSWORD: timescaledb
ports:
- 5432:5432
volumes:
- metrics-data:/var/lib/postgresql/data
- nb_studio_data:/var/lib/postgresql/data
healthcheck:
test: [ "CMD-SHELL", "pg_isready -d 'user=timescaledb dbname=metricsdb'" ]
test: [ "CMD-SHELL", "pg_isready -d 'user=timescaledb dbname=nb_studio_db'" ]
interval: 5s
timeout: 10s
retries: 5
Expand All @@ -33,7 +33,7 @@
- timescaledb

volumes:
metrics-data:
nb_studio_data:
driver: local

pgadmin-data:
Expand Down

0 comments on commit a3db346

Please sign in to comment.