ソースを参照

AMBARI-8513. "Host doesn't exist in database" exception in log after failed agent registration. fix UT (alexantonenko)

Alex Antonenko 10 年 前
コミット
a930a742fb
1 ファイル変更1 行追加1 行削除
  1. 1 1
      ambari-web/test/controllers/wizard/step3_test.js

+ 1 - 1
ambari-web/test/controllers/wizard/step3_test.js

@@ -1937,7 +1937,7 @@ describe('App.WizardStep3Controller', function () {
 
     it('should do proper request to the ambari-server', function() {
 
-      var bootHosts = [{name: 'n1'}, {name: 'n2'}],
+      var bootHosts = [{name: 'n1', bootStatus: 'REGISTERED'}, {name: 'n2', bootStatus: 'REGISTERED'}],
         javaHome = '/java',
         jdkLocation = '/jdk';
       c.reopen({