Commit 2a672626 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell

Reduce the number of renders (avoid time outs)

This test is taking too long with OpenGL backends, and failing with
time outs. Reduced the number of renders, and simply use vtkNew for
the timer that was added.

Change-Id: I43d1a969346f6f9d4032032b34cd62437c81def0
parent 70e078b8
......@@ -28,11 +28,8 @@
#include "vtkPDBReader.h"
#include "vtkTimerLog.h"
#include "vtkSmartPointer.h"
#include "vtkCamera.h"
int TestPDBBallAndStick(int argc, char *argv[])
char* fileName =
......@@ -72,9 +69,8 @@ int TestPDBBallAndStick(int argc, char *argv[])
ren->SetBackground(0.0, 0.0, 0.0);
win->SetSize(450, 450);
vtkSmartPointer<vtkTimerLog> timer = vtkSmartPointer<vtkTimerLog>::New();
int numRenders = 85;
vtkNew<vtkTimerLog> timer;
int numRenders = 15;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment