kontron / python-ipmi

A pure python IPMI library
GNU Lesser General Public License v2.1
185 stars 74 forks source link

rmcp: fix transaction retry infinite loop #160

Closed canteuni closed 10 months ago

canteuni commented 10 months ago

This aims to fix issue #159 :

Perhaps it's better to use a TimeoutError for the transaction loop because we only increase the retry counter on socket.timeout exception, I'm not sure.

This can require further testing as it take care of a quite annoying to reproduce bug.

coveralls commented 10 months ago

Coverage Status

coverage: 69.371% (-0.06%) from 69.434% when pulling 80823d53f1e6f627fd7f9b0c77d40a7ea7c68b9a on canteuni:fix_transaction_retry into 8e83f6f1de1c774cc9bdce90955b9917674351d4 on kontron:master.

hthiery commented 10 months ago

Unfortunatly I cannot test this change at the moment. So I will apply this PR without testing it now.