Browse Source

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

Alex Antonenko 10 years ago
parent
commit
a930a742fb
1 changed files with 1 additions and 1 deletions
  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() {
     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',
         javaHome = '/java',
         jdkLocation = '/jdk';
         jdkLocation = '/jdk';
       c.reopen({
       c.reopen({