In this paper , we test the cosmic distance duality ( CDD ) relation using the luminosity distances from joint light-curve analysis ( JLA ) type Ia supernovae ( SNe Ia ) sample and angular diameter distance sample from galaxy clusters . The R _ { h } = ct and \Lambda CDM models are considered . In order to compare the two models , we constrain the CCD relation and the SNe Ia light-curve parameters simultaneously . Considering the effects of Hubble constant , we find that \eta \equiv D _ { A } ( 1 + z ) ^ { 2 } / D _ { L } = 1 is valid at the 2 \sigma confidence level in both models with H _ { 0 } = 67.8 \pm 0.9 km/s/Mpc . However , the CDD relation is valid at 3 \sigma confidence level with H _ { 0 } = 73.45 \pm 1.66 km/s/Mpc . Using the Akaike Information Criterion ( AIC ) and the Bayesian Information Criterion ( BIC ) , we find that the \Lambda CDM model is very strongly preferred over the R _ { h } = ct model with these data sets for the CDD relation test .