That gay friend you introduce to your crush to see if they are gay or not; usually a gay man who is experienced getting the attention of "straight" men but not exclusively.
Jessica suspected Michael was keeping a secret, so she invited Juan to be her canary and give her insight on whether he was gay or not.