~akiban-technologies/akiban-persistit/blog-posts

« back to all changes in this revision

Viewing changes to src/test/java/com/persistit/stress/AbstractStressTest.java

merge pbeaman: Add support for running a sequence of suites.

https://code.launchpad.net/~pbeaman/akiban-persistit/fix_nightly_stress_tests/+merge/110148

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
    protected String[] _args;
48
48
    protected int _threadIndex;
49
49
    protected boolean _verbose;
 
50
    protected String _threadName;
50
51
 
51
52
    private volatile long _totalWorkDone;
52
53
 
68
69
        } else {
69
70
            _args = argsString.split(" ");
70
71
        }
 
72
        _threadName = Thread.currentThread().getName();
71
73
    }
72
74
 
73
75
    void initialize(final int index) {
186
188
    }
187
189
 
188
190
    public String getThreadName() {
189
 
        return Thread.currentThread().getName();
 
191
        return _threadName;
190
192
    }
191
193
 
192
194
    public void setUntilStopped(final boolean untilStopped) {