test_equeue: do not read arbitrary length from socket

but read only as much as we expect to receive. It should make tests more
stable
121 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds