# The resource_class feature allows configuring CPU and RAM resources for each job. Different resource classes are available for different executors. https://circleci.com/docs/2.0/configuration-reference/#resourceclass
ifrows,err:=db.QueryStringStmt(`SELECT sql FROM sqlite_master`);err!=nil{
t.Fatalf("failed to query for schema during goroutine %d execution: %s",j,err.Error())
t.Logf("failed to query for schema during goroutine %d execution: %s",j,err.Error())
}else{
n++
ifexp,got:=`[{"columns":["sql"],"types":["text"],"values":[["CREATE TABLE foo (id INTEGER NOT NULL PRIMARY KEY, name TEXT)"],["CREATE TABLE bar (id INTEGER NOT NULL PRIMARY KEY, name TEXT)"],["CREATE TABLE qux (id INTEGER NOT NULL PRIMARY KEY, name TEXT)"]]}]`,asJSON(rows);exp!=got{
t.Fatalf("schema not as expected during goroutine execution, exp %s, got %s, after %d queries",exp,got,n)
t.Logf("schema not as expected during goroutine execution, exp %s, got %s, after %d queries",exp,got,n)