Home | History | Annotate | Download | only in buffet_WebServerSanity
      1 # Copyright 2014 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = 'avakulenko, wiley, keybuk'
      6 NAME = 'buffet_WebServerSanity'
      7 TIME = 'FAST'
      8 TEST_TYPE = 'Server'
      9 ATTRIBUTES = "suite:tendo_experimental"
     10 SUITE = 'tendo_experimental'
     11 
     12 DOC = """
     13 This test verifies that the web server running on the device responds to simple
     14 HTTP requests at http://<ip>:8080/privet/ping URL and returns the expected
     15 payload. This verifies the web server operation as well as the firewall to
     16 make sure the TCP port is open and accessible from outside.
     17 
     18 """
     19 
     20 def run(machine):
     21     job.run_test('buffet_WebServerSanity',
     22                  host=hosts.create_host(machine))
     23 
     24 
     25 parallel_simple(run, machines)
     26