chore: add heappy end to end tests
@@ -131,6 +131,27 @@ jobs:
command: cargo test --workspace
- cache_save
+ # end to end tests with Heappy (heap profiling enabled)
+ test_heappy:
+ docker:
+ - image: quay.io/influxdb/rust:ci
+ resource_class: xlarge # use of a smaller executor tends crashes on link
+ environment:
+ # Disable incremental compilation to avoid overhead. We are not preserving these files anyway.
+ CARGO_INCREMENTAL: "0"
+ # Disable full debug symbol generation to speed up CI build
+ # "1" means line tables only, which is useful for panic tracebacks.
+ RUSTFLAGS: "-C debuginfo=1"
+ RUST_BACKTRACE: "1"
+ steps:
+ - checkout
+ - rust_components
+ - cache_restore
+ - run:
+ name: End to end tests (with heappy)
+ command: cargo test --features=heappy end_to_end
+ - cache_save
+
test_kafka_integration:
machine: true
resource_class: xlarge
@@ -314,6 +335,7 @@ workflows:
- lint
- protobuf-lint
- test
+ - test_heappy
- test_kafka_integration
- test_influxdb2_client
- build
