Skip to content

Instantly share code, notes, and snippets.

View kimble's full-sized avatar

Kim A. Betti kimble

View GitHub Profile
author "Your Name"
description "upstart script for sample-dw-service"
# respawn the job up to 5 times within a 10 second period.
# If the job exceeds these values, it will be stopped and
# marked as failed.
respawn
respawn limit 5 10
# move to this service's working directory
import org.junit.Test;
import java.lang.ref.WeakReference;
import static org.junit.Assert.*;
public class PubSubTest {
@Test