* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.concurrency;
-import junit.framework.Assert;
import junit.framework.TestCase;
/**
* @see ReadWriteLock
*/
public class ReadWriteLockTest extends TestCase {
- private static final int HALF_SECOND = 500;
+ private static final int HALF_SECOND = 100;
- private static final int ONE_SECOND = 1000;
+ private static final int ONE_SECOND = 200;
- private static final int TWO_SECONDS = 2000;
+ private static final int TWO_SECONDS = 400;
private ReadWriteLock lock;
private int nReaders;
private int nWriters;