Skip to content

Commit 9265089

Browse files
committed
Update CouchDB to version 3.4.3 in tests, Docker config, and README
1 parent b27ec0d commit 9265089

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ To use CouchDB, you need to have CouchDB running. You can start CouchDB using Do
108108
docker run -d -p 5984:5984 --name couchdb \
109109
-e COUCHDB_USER=admin \
110110
-e COUCHDB_PASSWORD=password \
111-
couchdb:3.3.3
111+
couchdb:3.4.3
112112
```
113113

114114
Then, set the environment variables and run the application:

docker-compose.couchdb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
# CouchDB service
33
couchdb:
4-
image: couchdb:3.3.3
4+
image: couchdb:3.4.3
55
container_name: notes-couchdb
66
environment:
77
- COUCHDB_USER=admin

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func (c *MyLogConsumer) Accept(log testcontainers.Log) {
101101
func startCouchDBContainer(ctx context.Context) (testcontainers.Container, string, error) {
102102
consumer := &MyLogConsumer{}
103103
req := testcontainers.ContainerRequest{
104-
Image: "couchdb:3.3.3",
104+
Image: "couchdb:3.4.3",
105105
ExposedPorts: []string{"5984/tcp"},
106106
WaitingFor: wait.ForListeningPort("5984/tcp"),
107107
Env: map[string]string{

storage/couchdb_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestCouchDBStorage(t *testing.T) {
2828

2929
// Define the CouchDB container request
3030
req := testcontainers.ContainerRequest{
31-
Image: "couchdb:3.3.3",
31+
Image: "couchdb:3.4.3",
3232
ExposedPorts: []string{"5984/tcp"},
3333
Env: map[string]string{
3434
"COUCHDB_USER": "admin",
@@ -208,7 +208,7 @@ func TestCouchDBSpecificFeatures(t *testing.T) {
208208

209209
// Define the CouchDB container request
210210
req := testcontainers.ContainerRequest{
211-
Image: "couchdb:3.3.3",
211+
Image: "couchdb:3.4.3",
212212
ExposedPorts: []string{"5984/tcp"},
213213
Env: map[string]string{
214214
"COUCHDB_USER": "admin",

0 commit comments

Comments
 (0)