Advertisement
Guest User

Untitled

a guest
Jul 24th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.00 KB | None | 0 0
  1. user@hostname: ~/go/src $ go get github.com/skeema/tengo
  2.  
  3. user@hostname: ~/go/src $ cd $GOPATH/src/github.com/skeema/tengo/
  4.  
  5. user@hostname: ~/go/src/github.com/skeema/tengo $ git checkout fk-order-mysql55
  6. Branch 'fk-order-mysql55' set up to track remote branch 'fk-order-mysql55' from 'origin'.
  7. Switched to a new branch 'fk-order-mysql55'
  8.  
  9. user@hostname: ~/go/src/github.com/skeema/tengo $ dep ensure
  10.  
  11. user@hostname: ~/go/src/github.com/skeema/tengo $ SKEEMA_TEST_IMAGES=mysql:5.5,mysql:5.6,mysql:5.7,mysql:8.0,percona:5.5,percona:5.6,percona:5.7,percona:8.0,mariadb:10.1,mariadb:10.2,mariadb:10.3 go test -v -run Integration/SchemaIntrospection
  12. === RUN TestIntegration
  13. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.5
  14. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.6
  15. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.7
  16. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:8.0
  17. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.5
  18. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.6
  19. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.7
  20. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:8.0
  21. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.1
  22. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.2
  23. === RUN TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.3
  24. --- FAIL: TestIntegration (134.85s)
  25. --- FAIL: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.5 (0.11s)
  26. instance_test.go:541: Table grab_bag: expected UnsupportedDDL==false, instead found true
  27. Expected SHOW CREATE TABLE:
  28. CREATE TABLE `grab_bag` (
  29. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  30. `owner_id` int(10) unsigned DEFAULT NULL,
  31. `name` varchar(100) NOT NULL,
  32. `code` char(8) NOT NULL DEFAULT 'XYZ01234',
  33. `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  34. `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  35. `alive` tinyint(1) DEFAULT '1' COMMENT 'column comment',
  36. `flags` bit(8) DEFAULT b'1',
  37. `metadata` blob,
  38. PRIMARY KEY (`id`,`code`),
  39. UNIQUE KEY `name_idx` (`name`),
  40. KEY `recency` (`updated_at`,`created_at`),
  41. KEY `owner_idx` (`owner_id`) COMMENT 'index comment',
  42. CONSTRAINT `Ab` FOREIGN KEY (`id`, `code`) REFERENCES `sometable1` (`somecol1a`, `somecol1b`),
  43. CONSTRAINT `_aa` FOREIGN KEY (`updated_at`, `created_at`) REFERENCES `sometable2` (`somecol2a`, `somecol2b`),
  44. CONSTRAINT `aa` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  45. CONSTRAINT `bb` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  46. CONSTRAINT `cc` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`)
  47. ) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=latin1
  48. Actual SHOW CREATE TABLE:
  49. CREATE TABLE `grab_bag` (
  50. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  51. `owner_id` int(10) unsigned DEFAULT NULL,
  52. `name` varchar(100) NOT NULL,
  53. `code` char(8) NOT NULL DEFAULT 'XYZ01234',
  54. `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  55. `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  56. `alive` tinyint(1) DEFAULT '1' COMMENT 'column comment',
  57. `flags` bit(8) DEFAULT b'1',
  58. `metadata` blob,
  59. PRIMARY KEY (`id`,`code`),
  60. UNIQUE KEY `name_idx` (`name`),
  61. KEY `recency` (`updated_at`,`created_at`),
  62. KEY `owner_idx` (`owner_id`) COMMENT 'index comment',
  63. CONSTRAINT `Ab` FOREIGN KEY (`id`, `code`) REFERENCES `sometable1` (`somecol1a`, `somecol1b`),
  64. CONSTRAINT `_aa` FOREIGN KEY (`updated_at`, `created_at`) REFERENCES `sometable2` (`somecol2a`, `somecol2b`),
  65. CONSTRAINT `cc` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  66. CONSTRAINT `aa` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  67. CONSTRAINT `bb` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`)
  68. ) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=latin1
  69. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.6 (0.10s)
  70. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:5.7 (0.15s)
  71. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mysql:8.0 (0.39s)
  72. --- FAIL: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.5 (0.10s)
  73. instance_test.go:541: Table grab_bag: expected UnsupportedDDL==false, instead found true
  74. Expected SHOW CREATE TABLE:
  75. CREATE TABLE `grab_bag` (
  76. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  77. `owner_id` int(10) unsigned DEFAULT NULL,
  78. `name` varchar(100) NOT NULL,
  79. `code` char(8) NOT NULL DEFAULT 'XYZ01234',
  80. `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  81. `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  82. `alive` tinyint(1) DEFAULT '1' COMMENT 'column comment',
  83. `flags` bit(8) DEFAULT b'1',
  84. `metadata` blob,
  85. PRIMARY KEY (`id`,`code`),
  86. UNIQUE KEY `name_idx` (`name`),
  87. KEY `recency` (`updated_at`,`created_at`),
  88. KEY `owner_idx` (`owner_id`) COMMENT 'index comment',
  89. CONSTRAINT `Ab` FOREIGN KEY (`id`, `code`) REFERENCES `sometable1` (`somecol1a`, `somecol1b`),
  90. CONSTRAINT `_aa` FOREIGN KEY (`updated_at`, `created_at`) REFERENCES `sometable2` (`somecol2a`, `somecol2b`),
  91. CONSTRAINT `aa` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  92. CONSTRAINT `bb` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  93. CONSTRAINT `cc` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`)
  94. ) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=latin1
  95. Actual SHOW CREATE TABLE:
  96. CREATE TABLE `grab_bag` (
  97. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  98. `owner_id` int(10) unsigned DEFAULT NULL,
  99. `name` varchar(100) NOT NULL,
  100. `code` char(8) NOT NULL DEFAULT 'XYZ01234',
  101. `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  102. `created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  103. `alive` tinyint(1) DEFAULT '1' COMMENT 'column comment',
  104. `flags` bit(8) DEFAULT b'1',
  105. `metadata` blob,
  106. PRIMARY KEY (`id`,`code`),
  107. UNIQUE KEY `name_idx` (`name`),
  108. KEY `recency` (`updated_at`,`created_at`),
  109. KEY `owner_idx` (`owner_id`) COMMENT 'index comment',
  110. CONSTRAINT `Ab` FOREIGN KEY (`id`, `code`) REFERENCES `sometable1` (`somecol1a`, `somecol1b`),
  111. CONSTRAINT `_aa` FOREIGN KEY (`updated_at`, `created_at`) REFERENCES `sometable2` (`somecol2a`, `somecol2b`),
  112. CONSTRAINT `cc` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  113. CONSTRAINT `aa` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`),
  114. CONSTRAINT `bb` FOREIGN KEY (`name`) REFERENCES `sometable3` (`somecol3`)
  115. ) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=latin1
  116. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.6 (0.16s)
  117. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:5.7 (0.17s)
  118. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:percona:8.0 (0.40s)
  119. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.1 (0.12s)
  120. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.2 (0.20s)
  121. --- PASS: TestIntegration/TengoIntegrationSuite.TestInstanceSchemaIntrospection:mariadb:10.3 (0.16s)
  122. FAIL
  123. exit status 1
  124. FAIL github.com/skeema/tengo 134.862s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement