The Bayes test decision rules of variance components wer e derived for mixed-linear models with two variance components and the empirica l Bayes(EB) test decision rules were constructed by using kernel estimation met hod.The asymptotically optimal EB test decision rules with convergence rates w ere obtained under some suitable conditions.The correctness of theorems is veri fied by an example.