It is far more likely that any discrimination would have been based on dress, not race, though discrimination is discrimination.
When I travel, it's usually in a dress shirt and slacks and I am sure a number of my "spontaneous" upgrades were helped by that fact.