Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-1167

Investigate and fix the CBL failure in test_replication_heartbeat for android

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      The failure:

       

      Error MessageAssertionError: Failed to install nginx! on lb1Stacktraceparams_from_base_test_setup = {'base_url': 'http://10.100.150.21:8080', 'cbl_db': 'cbl-test1707492826.160609', 'cbs_ce': False, 'cluster_config': 'resources/cluster_configs/1cb_1sg_1lb', ...}
       
          @pytest.mark.replication
          def test_replication_heartbeat(params_from_base_test_setup):
              """
                  @summary:
                  This test to verify heartbeat keeps websocket connection alive
                  1. create cbl db and add 10 docs on CBL
                  2. create 15 docs on SGW
                  3. create a push_pull continuous replicator, start replication
                  4. verify docs are all replicated
                  5. sleep for 90 seconds, then create some docs on cbl
                  6. verify if docs are replicated to sync gateway
              """
              cluster_config = params_from_base_test_setup["cluster_config"]
              sg_config = params_from_base_test_setup["sg_config"]
              sg_admin_url = params_from_base_test_setup["sg_admin_url"]
              sg_url = params_from_base_test_setup["sg_url"]
              base_url = params_from_base_test_setup["base_url"]
              sg_blip_url = params_from_base_test_setup["target_url"]
              db = params_from_base_test_setup["db"]
              db_config = params_from_base_test_setup["db_config"]
              need_sgw_admin_auth = params_from_base_test_setup["need_sgw_admin_auth"]
          
              # Reset nginx with shorter keep_alive frequency config
              from libraries.provision.install_nginx import install_nginx
      >       install_nginx(cluster_config, True) 

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            gilad.kalchheim Gilad Kalchheim
            gilad.kalchheim Gilad Kalchheim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty