Rohypnol

Rohypnol - Rohypnol pills for your JVM

Лицензия

Лицензия

Группа

Группа

info.jerrinot
Идентификатор

Идентификатор

rohypnol-root
Последняя версия

Последняя версия

0.1
Дата

Дата

Тип

Тип

pom
Описание

Описание

Rohypnol
Rohypnol - Rohypnol pills for your JVM
Ссылка на сайт

Ссылка на сайт

https://github.com/jerrinot/rohypnol
Система контроля версий

Система контроля версий

https://github.com/jerrinot/rohypnol

Скачать rohypnol-root

Имя Файла Размер
rohypnol-root-0.1.pom 7 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/info.jerrinot/rohypnol-root/ -->
<dependency>
    <groupId>info.jerrinot</groupId>
    <artifactId>rohypnol-root</artifactId>
    <version>0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/info.jerrinot/rohypnol-root/
implementation 'info.jerrinot:rohypnol-root:0.1'
// https://jarcasting.com/artifacts/info.jerrinot/rohypnol-root/
implementation ("info.jerrinot:rohypnol-root:0.1")
'info.jerrinot:rohypnol-root:pom:0.1'
<dependency org="info.jerrinot" name="rohypnol-root" rev="0.1">
  <artifact name="rohypnol-root" type="pom" />
</dependency>
@Grapes(
@Grab(group='info.jerrinot', module='rohypnol-root', version='0.1')
)
libraryDependencies += "info.jerrinot" % "rohypnol-root" % "0.1"
[info.jerrinot/rohypnol-root "0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • maven
  • core
  • maven-it

Rohypnol

Feed your junit tests with rohypnol and reveal race conditions!

The idea is to use a Java-agent to insert randomized pauses into your code. This should reveal race-conditions.

Usage:

Start your JVM with -javaagent:<path>/rohypnol-1.0-SNAPSHOT-allinone.jar

Configration:

Currently hard-coded. It instruments only classes starting with com.hazelcast and parameters are in Constants

TODO:

  • Configurable strategy to select classes & methods to instrument.
  • Configurable {White/Black}list to feed the pill to selected threads only.
  • Multiple strategies to generate sleep duration. Currently it always uses uniform distribution.

Credits:

@Holmistr came-up with the idea. Implementation bugs are mine.

Версии библиотеки

Версия
0.1