• Thong Kuah's avatar
    Fix fake connection leaking for Ci::ApplicationRecord · cce4e322
    Thong Kuah authored
    After the example has run, the
    Ci::ApplicationRecord#connection_specification_name remained stuck as
    "Ci::ApplicationRecord" instead of reverting back to
    "ActiveRecord::Base".
    
    We call model.remove_connection to fix this.
    
    Also, there is no need to setup a (fake) ci connection, if we already
    have one
    cce4e322
load_balancer_spec.rb 16 KB