It really depends on the occupation level of the cruise. Our Baltic cruise 3 weeks ago was only 50% booked and got our assignment about two weeks beforehand.
Here in Europe, there are early signs of a next wave of Covid infections due to Omicron variants. So I rather play safe and everybody is tested beforehand in order to reduce the risk.