Skip to content

Commit

Permalink
Merge pull request #204 from zhsj/test-32
Browse files Browse the repository at this point in the history
qemu: Fix 32 bit int overflow in test file
  • Loading branch information
Julio Montes committed Nov 8, 2021
2 parents ab7aa42 + 82cc01d commit e438cc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qemu/qmp_test.go
Expand Up @@ -670,7 +670,7 @@ func TestQMPChardevDel(t *testing.T) {
// exit gracefully. We should also receive two events on the eventCh.
func TestQMPDeviceDel(t *testing.T) {
const (
seconds = 1352167040730
seconds = int64(1352167040730)
microsecondsEv1 = 123456
microsecondsEv2 = 123556
device = "device_" + volumeUUID
Expand Down Expand Up @@ -793,7 +793,7 @@ func TestQMPCancel(t *testing.T) {
// as we've provisioned a SHUTDOWN event. The QMP loop should exit gracefully.
func TestQMPSystemPowerdown(t *testing.T) {
const (
seconds = 1352167040730
seconds = int64(1352167040730)
microsecondsEv1 = 123456
)

Expand Down Expand Up @@ -926,7 +926,7 @@ func TestQMPEventedCommandCancelConcurrent(t *testing.T) {
// shut down gracefully.
func TestQMPEvents(t *testing.T) {
const (
seconds = 1352167040730
seconds = int64(1352167040730)
microsecondsEv1 = 123456
microsecondsEv2 = 123556
device = "device_" + volumeUUID
Expand Down Expand Up @@ -1640,7 +1640,7 @@ func TestExecuteNVDIMMDeviceAdd(t *testing.T) {

func TestMainLoopEventBeforeGreeting(t *testing.T) {
const (
seconds = 1352167040730
seconds = int64(1352167040730)
microseconds = 123456
)

Expand Down

0 comments on commit e438cc5

Please sign in to comment.