Skip to content

Commit

Permalink
rm it test from readme #2
Browse files Browse the repository at this point in the history
  • Loading branch information
mariiatuzovska committed Dec 11, 2024
1 parent 364c7ac commit 33fc9a2
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,3 @@ pip install pre-commit
Then run: `pre-commit install`

And to install golangci-lint please follow the instructions [here](https://golangci-lint.run/welcome/install/#local-installation).

# Integration Tests

## Run fake-gcs-server

Integration tests require disk space and [fake-gcs-server](https://github.com/fsouza/fake-gcs-server) to be running on your machine.

To run integration tests, you can start `fake-gcs-server` in Docker with the following command:

```bash
docker run -d --name fake-gcs-server -p 4443:4443 fsouza/fake-gcs-server -scheme http -public-host 0.0.0.0:4443
```

[!NOTE]
The `-scheme http` and `-public-host 0.0.0.0:4443` flags are required to run the tests correctly:
- `-public-host 0.0.0.0:4443` ensures that readers are created correctly. For more details, refer to [this issue]
(https://github.com/fsouza/fake-gcs-server/issues/201).
- `-scheme http` is required for proper local hosting without TLS checks. The GCS client has issues connecting to HTTPS servers, as it verifies the TLS certificate and fails in this setup.

0 comments on commit 33fc9a2

Please sign in to comment.