def METHOD_NAME(self):
    # read server_config.json and .odbc.ini
    cfg = IrodsConfig()
    if cfg.catalog_database_type == "postgres":
        # =-=-=-=-=-=-=-
        # seed load table with fake values - rescA should win
        from .. import database_connect
        with contextlib.closing(database_connect.get_database_connection(cfg)) as connection:
            with contextlib.closing(connection.cursor()) as cursor:
                # Make a local file to put
                local_filepath = os.path.join(self.admin.local_session_dir, 'things.txt')
                lib.make_file(local_filepath, 500, 'arbitrary')
                # =-=-=-=-=-=-=-
                # build a logical path for putting a file
                test_file = self.admin.session_collection + "/test_file.txt"
                # =-=-=-=-=-=-=-
                # put a test_file.txt - should be on rescA given load table values
                self.admin.assert_icommand("iput -f %s %s" % (local_filepath, test_file))
                self.admin.assert_icommand("ils -L " + test_file, 'STDOUT_SINGLELINE', "rescA")
                self.admin.assert_icommand("irm -f " + test_file)
                # =-=-=-=-=-=-=-
                # drop rescC to a load of 15 - this should now win
                cursor.execute("update r_server_load_digest set load_factor=15 where resc_name='rescC'")
                cursor.commit()
                # =-=-=-=-=-=-=-
                # put a test_file.txt - should be on rescC given load table values
                self.admin.assert_icommand("iput -f %s %s" % (local_filepath, test_file))
                self.admin.assert_icommand("ils -L " + test_file, 'STDOUT_SINGLELINE', "rescC")
                self.admin.assert_icommand("irm -f " + test_file)
    else:
        raise RuntimeError('unsupported database type {0}'.format(cfg.catalog_database_type))