32
visibilitySchemaVersionDir string,
33
visibilityVersion string,
35
>
return &UpdateSchemaTestSuite{
36
>
host: host,
37
>
port: port,
38
>
pluginName: pluginName,
39
>
sqlQuery: sqlQuery,
40
>
executionSchemaVersionDir: executionSchemaVersionDir,
41
>
executionVersion: executionVersion,
42
>
visibilitySchemaVersionDir: visibilitySchemaVersionDir,
43
>
visibilityVersion: visibilityVersion,
44
>
}
45
>
}
46
47
// SetupSuite setups test suite
49
>
conn, err := newTestConn("", s.host, s.port, s.pluginName)
50
>
if err != nil {
51
s.Logger.Fatal("Error creating CQLClient", tag.Error(err))
52
}
54
>
Host: s.host,
55
>
Port: s.port,
56
>
User: testUser,
57
>
Password: testPassword,
58
>
})
59
}
60
61
// TearDownSuite tear down test suite
63
>
s.TearDownSuiteBase()
64
>
}
65
66
// TestUpdateSchema test