Skip to content

Commit

Permalink
Merge pull request #263 from c410-f3r/misc
Browse files Browse the repository at this point in the history
Fix #244
  • Loading branch information
c410-f3r authored Nov 8, 2024
2 parents ad8fbf9 + a45012e commit f7b20e3
Show file tree
Hide file tree
Showing 98 changed files with 2,309 additions and 1,650 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
**/curl
**/hpack-test-case
**/profile.json
**/proptest-regressions
**/rustc-ice-*.txt
**/target
mdbook-target
Expand Down
5 changes: 1 addition & 4 deletions .scripts/internal-tests-0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$rt rustfmt
$rt clippy -Aclippy::little-endian-bytes,-Aclippy::panic-in-result-fn

cargo miri test --features http2,postgres,web-socket -p wtx
cargo miri test --features http2,postgres,web-socket -p wtx two_sta

# WTX

Expand Down Expand Up @@ -36,7 +36,6 @@ $rt test-with-features wtx matchit
$rt test-with-features wtx memchr
$rt test-with-features wtx pool
$rt test-with-features wtx postgres
$rt test-with-features wtx proptest
$rt test-with-features wtx quick-protobuf
$rt test-with-features wtx rand_chacha
$rt test-with-features wtx ring
Expand All @@ -49,7 +48,6 @@ $rt test-with-features wtx sha1
$rt test-with-features wtx sha2
$rt test-with-features wtx simdutf8
$rt test-with-features wtx std
$rt test-with-features wtx test-strategy
$rt test-with-features wtx tokio
$rt test-with-features wtx tokio-rustls
$rt test-with-features wtx tracing
Expand All @@ -61,7 +59,6 @@ $rt test-with-features wtx x509-certificate
$rt test-with-features wtx _async-tests
$rt test-with-features wtx _bench
$rt test-with-features wtx _integration-tests
$rt test-with-features wtx _proptest
$rt test-with-features wtx _tracing-tree

# WTX Macros
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .scripts/podman-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ podman run \
-e POSTGRES_PASSWORD=wtx \
-p 5432:5432 \
-v ./.test-utils/postgres.sh:/docker-entrypoint-initdb.d/setup.sh \
docker.io/library/postgres:16
docker.io/library/postgres:17

# Utils

Expand Down
2 changes: 1 addition & 1 deletion .test-utils/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
environment:
POSTGRES_DB: wtx
POSTGRES_PASSWORD: wtx
image: postgres:16
image: postgres:17
ports:
- 5432:5432
volumes:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

Before submitting a PR, you should probably run `./scripts/internal-tests-all.sh` and/or `./scripts/intergration-tests.sh` to make sure everything is fine.
Before submitting a PR, you should probably run `./scripts/internal-tests.sh` and/or `./scripts/intergration-tests.sh` to make sure everything is fine.

Integration tests interact with external programs like `podman` or require an internet connection, therefore, they usually aren't good candidates for offline development. On the other hand, internal tests are composed by unit tests, code formatting, `clippy` lints and fuzzing targets.

Expand Down
Loading

0 comments on commit f7b20e3

Please sign in to comment.