It is possible that the routing fails even if master_reconnection is enabled and a second master is available. This is the case when a transaction is open or autocommit is disabled which is what the mxs359_master_switch test tests.