How to know if the Being is giving an illness as a trial? I've been through a serious pneumonia and seemingly for no reason...
Meditate on your experience with the illness. If it has caused certain egos to emerge, then take advantage of that in order to eliminate them. This is what trials are for: to help us see ourselves.