Speed up TestAnalyzer
@@ -51,7 +51,7 @@ import com.facebook.presto.type.TypeRegistry;
import com.google.common.collect.ImmutableList;
import io.airlift.json.JsonCodec;
import org.intellij.lang.annotations.Language;
-import org.testng.annotations.BeforeMethod;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.util.Optional;
@@ -1502,7 +1502,7 @@ public class TestAnalyzer
analyze("SELECT * FROM (VALUES array[2, 2]) a(x) FULL OUTER JOIN LATERAL(VALUES x) ON true");
}
- @BeforeMethod(alwaysRun = true)
+ @BeforeClass
public void setup()
throws Exception
{
