Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Josverl
Copy link
Contributor

@Josverl Josverl commented Nov 8, 2025

Summary

Changed the pin numbers used for the I2S rate testing as the pin numbers used were incompatible with the limited GPIO pins availalbe on the ESP32-C3 , causing the tests to fail

Testing

Ran the updated test against:

  • ESP32_GENERIC
  • ESP32_GENERIC_C3
  • ESP32_GENERIC_S2
  • ESP32_GENERIC_S3

Trade-offs and Alternatives

Could use sys.implementation._machine or ._build to determine the board the tests is run on and adjust the pins based on that, rather than through exception handling.

@Josverl Josverl added port-esp32 tests Relates to tests/ directory in source labels Nov 8, 2025
@Josverl Josverl force-pushed the tests/esp32c3-i2s_rate branch from 6d3ffe5 to 2648361 Compare November 8, 2025 23:53
@codecov
Copy link

codecov bot commented Nov 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.38%. Comparing base (673524f) to head (1a81056).
⚠️ Report is 19 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #18386      +/-   ##
==========================================
- Coverage   98.38%   98.38%   -0.01%     
==========================================
  Files         171      171              
  Lines       22297    22294       -3     
==========================================
- Hits        21936    21933       -3     
  Misses        361      361              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Josverl
Copy link
Contributor Author

Josverl commented Nov 9, 2025

I can't see any relationship between the change and the failed test on stackless

1 tests failed: thread/thread_gc1.py

Assume this is a flaky test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

port-esp32 tests Relates to tests/ directory in source

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant