Skip to content

Commit e9f464c

Browse files
committed
Pin to stable Synapse server version; run 2 tests concurently
1 parent e723e2c commit e9f464c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ detach: setup-attach
319319
.PHONY: test
320320
test: apply webapp/node_modules install-go-tools
321321
ifneq ($(HAS_SERVER),)
322-
$(GOBIN)/gotestsum -- -v -count=1 -p 1 -timeout=20m ./...
322+
$(GOBIN)/gotestsum -- -v -count=1 -p 2 -timeout=20m ./...
323323
endif
324324
ifneq ($(HAS_WEBAPP),)
325325
cd webapp && $(NPM) run test;
@@ -330,7 +330,7 @@ endif
330330
.PHONY: test-ci
331331
test-ci: apply webapp/node_modules install-go-tools
332332
ifneq ($(HAS_SERVER),)
333-
$(GOBIN)/gotestsum --format standard-verbose --junitfile report.xml -- -p 1 ./...
333+
$(GOBIN)/gotestsum --format standard-verbose --junitfile report.xml -- -p 2 ./...
334334
endif
335335
ifneq ($(HAS_WEBAPP),)
336336
cd webapp && $(NPM) run test;

testcontainers/matrix/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func StartMatrixContainer(t *testing.T, config MatrixTestConfig) *Container {
4444

4545
// Create container with Synapse using bridge networking with dynamic port assignment
4646
req := testcontainers.ContainerRequest{
47-
Image: "matrixdotorg/synapse:latest",
47+
Image: "matrixdotorg/synapse:v1.119.0",
4848
Env: map[string]string{
4949
"SYNAPSE_SERVER_NAME": config.ServerName,
5050
"SYNAPSE_REPORT_STATS": "no",

0 commit comments

Comments
 (0)