13627105546 opened a new pull request, #3340: URL: https://github.com/apache/nuttx-apps/pull/3340
This assertion should be removed because the POLLIN event is now only raised when there is data pending to be received. Previously, POLLIN was incorrectly set as soon as the connection was established, even when no data was available, which was not consistent with the expected behavior. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary usrsocktest: fix TEST_ASSERT_EQUAL fail for POLLIN This assertion should be removed because the POLLIN event is now only raised when there is data pending to be received. Previously, POLLIN was incorrectly set as soon as the connection was established, even when no data was available, which was not consistent with the expected behavior. ## Impact * **Users:** Users running `usrsocktest` to verify user socket implementations. * **Build:** No impact on build configuration. * **Compatibility:** Updates test expectations to match the corrected kernel behavior where POLLIN is only set when data is actually available. ## Testing * **Verification:** Verified that `usrsocktest` now passes with the updated kernel changes. * **Target:** Sim/QEMU with usrsock enabled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
