Cassandra\RetryPolicyIntegrationTest::setUp PHP Method

setUp() public method

Setup the retry policy for multiple nodes.
public setUp ( )
    public function setUp()
    {
        // Ensure RF = 3 (anything greater than 1 is good)
        $this->replicationFactor = 3;
        // Process parent setup steps
        parent::setUp();
        // Create the table
        $query = "CREATE TABLE {$this->tableNamePrefix} (key int, value_int int, PRIMARY KEY(key, value_int))";
        $this->session->execute(new SimpleStatement($query));
        // Create the insert query
        $this->insertQuery = "INSERT INTO {$this->tableNamePrefix} (key, value_int) VALUES (?, ?)";
    }